We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 486645f commit 3eeffe4Copy full SHA for 3eeffe4
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
@@ -3601,7 +3601,7 @@ export class BaileysStartupService extends ChannelStartupService {
3601
}
3602
3603
if (typeof mediaMessage['mediaKey'] === 'object') {
3604
- msg.message = JSON.parse(JSON.stringify(msg.message));
+ msg.message[mediaType].mediaKey = Uint8Array.from(Object.values(mediaMessage['mediaKey']));
3605
3606
3607
let buffer: Buffer;
0 commit comments