From 549224ac16c969a9a80c8664a6d5b0edaaf39cbf Mon Sep 17 00:00:00 2001 From: Davidson Gomes Date: Mon, 17 Jun 2024 13:48:46 -0300 Subject: [PATCH] fix: update WhatsApp Baileys service Modified the WhatsApp Baileys service in channels to fix an issue. This change addresses a bug that was causing incorrect message handling. The update ensures more reliable communication through the WhatsApp API. --- src/api/services/channels/whatsapp.baileys.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/services/channels/whatsapp.baileys.service.ts b/src/api/services/channels/whatsapp.baileys.service.ts index 040a0544..fa9ea4e6 100644 --- a/src/api/services/channels/whatsapp.baileys.service.ts +++ b/src/api/services/channels/whatsapp.baileys.service.ts @@ -1127,6 +1127,7 @@ export class BaileysStartupService extends ChannelStartupService { received?.message?.videoMessage || received?.message?.stickerMessage || received?.message?.documentMessage || + received?.message?.documentWithCaptionMessage || received?.message?.audioMessage; const contentMsg = received?.message[getContentType(received.message)] as any;