mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-09 01:49:37 -06:00
fix: ajustar a manipulação da chave remota da mensagem no serviço WhatsApp para incluir JID alternativo
This commit is contained in:
parent
486645fb08
commit
c6a7e2368b
@ -1349,6 +1349,10 @@ export class BaileysStartupService extends ChannelStartupService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (messageRaw.key.remoteJid?.includes('@lid') && messageRaw.key.remoteJidAlt) {
|
||||||
|
messageRaw.key.remoteJid = messageRaw.key.remoteJidAlt;
|
||||||
|
}
|
||||||
|
|
||||||
this.logger.log(messageRaw);
|
this.logger.log(messageRaw);
|
||||||
|
|
||||||
this.sendDataWebhook(Events.MESSAGES_UPSERT, messageRaw);
|
this.sendDataWebhook(Events.MESSAGES_UPSERT, messageRaw);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user