fix: Correção para considerar o id do numero que esta conectado na interface

pull/21/head
adriano 2023-10-13 11:52:26 -03:00
parent c151473d52
commit 8b6d7e2597
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ const handleMessage = async (
wbot: any, wbot: any,
whatsAppOfficial?: any whatsAppOfficial?: any
): Promise<void> => { ): Promise<void> => {
if (!msg.fromMe && !whatsAppOfficial) { if (!whatsAppOfficial) {
_clear_lst(); _clear_lst();
let index = lst.findIndex((x: any) => x.id == msg.id.id); let index = lst.findIndex((x: any) => x.id == msg.id.id);