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.
2 parents 486645f + 3eeffe4 commit 5a39f1aCopy full SHA for 5a39f1a
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