[core] Remove calls from message events

fix #840
This commit is contained in:
devlikepro committed 2025-03-16 14:05:24 +07:00
1 parent 39429a2e44
commit 4d8aad9dfe
1 file changed
+2
@@ -1788,6 +1788,8 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
if (message.message.reactionMessage) return;
// Ignore poll votes, we have dedicated handler for that
if (message.message.pollUpdateMessage) return;
// Ignore calls, we have dedicated handler for that
if (message.message.call?.callKey) return;
// Ignore revoke, we have a dedicated handler for that
if (
message.message.protocolMessage?.type ===