From eb825bdfc6d730ffb82b7c7c81250bfbac413903 Mon Sep 17 00:00:00 2001 From: pedro-php Date: Tue, 15 Apr 2025 16:49:10 -0300 Subject: [PATCH] ppp --- .../integrations/channel/whatsapp/whatsapp.baileys.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts index 805713cc..d5bd88f2 100644 --- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts @@ -149,6 +149,7 @@ import { PassThrough, Readable } from 'stream'; import { v4 } from 'uuid'; import { useVoiceCallsBaileys } from './voiceCalls/useVoiceCallsBaileys'; +import { Console } from 'console'; const groupMetadataCache = new CacheService(new CacheEngine(configService, 'groups').getEngine()); @@ -1132,6 +1133,8 @@ export class BaileysStartupService extends ChannelStartupService { } } + console.dir({received}, {depth: null}); + const editedMessage = received?.message?.protocolMessage || received?.message?.editedMessage?.message?.protocolMessage;