From 8b6d7e2597186b3c75eeb3083501601ff124dc3d Mon Sep 17 00:00:00 2001 From: adriano Date: Fri, 13 Oct 2023 11:52:26 -0300 Subject: [PATCH] =?UTF-8?q?fix:=20Corre=C3=A7=C3=A3o=20para=20considerar?= =?UTF-8?q?=20o=20id=20do=20numero=20que=20esta=20conectado=20na=20interfa?= =?UTF-8?q?ce?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/services/WbotServices/wbotMessageListener.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/services/WbotServices/wbotMessageListener.ts b/backend/src/services/WbotServices/wbotMessageListener.ts index 06c437d..e4b74f6 100644 --- a/backend/src/services/WbotServices/wbotMessageListener.ts +++ b/backend/src/services/WbotServices/wbotMessageListener.ts @@ -519,7 +519,7 @@ const handleMessage = async ( wbot: any, whatsAppOfficial?: any ): Promise => { - if (!msg.fromMe && !whatsAppOfficial) { + if (!whatsAppOfficial) { _clear_lst(); let index = lst.findIndex((x: any) => x.id == msg.id.id);