From 2142fe0a1c0ab5c54e7ca9e0a59f0d1bad57b582 Mon Sep 17 00:00:00 2001 From: adriano Date: Fri, 13 Oct 2023 11:54:19 -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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/services/WbotServices/wbotMessageListener.ts b/backend/src/services/WbotServices/wbotMessageListener.ts index b64c213..63fd34b 100644 --- a/backend/src/services/WbotServices/wbotMessageListener.ts +++ b/backend/src/services/WbotServices/wbotMessageListener.ts @@ -940,7 +940,7 @@ const handleMessage = async ( wbot: any ): Promise => { - if (!msg.fromMe) { + // if (!msg.fromMe) { _clear_lst() @@ -966,7 +966,7 @@ const handleMessage = async ( // console.log('LIST OF ID MESSAGE lst: ', lst) console.log('PASSOU.................................FROM: ', msg.from.split("@")[0], ' | ID: ', msg.id.id) - } + // } if (!isValidMsg(msg)) {