From 71f9adeff409e0376064cfb18c1386e9f35a1b1e Mon Sep 17 00:00:00 2001 From: devlikepro Date: Tue, 14 Oct 2025 15:01:41 +0700 Subject: [PATCH] [core] ChatWoot - ignore fromMe in ack mention #1492 --- src/apps/chatwoot/consumers/waha/message.ack.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/apps/chatwoot/consumers/waha/message.ack.ts b/src/apps/chatwoot/consumers/waha/message.ack.ts index 0117e50f..5ad6d7ba 100644 --- a/src/apps/chatwoot/consumers/waha/message.ack.ts +++ b/src/apps/chatwoot/consumers/waha/message.ack.ts @@ -37,8 +37,12 @@ export class WAHAMessageAckConsumer extends ChatWootWAHABaseConsumer { if (!isJidCusFormat(chatId) && !isLidUser(chatId)) { return false; } - // Only READ and PLAYED const payload = event.payload; + if (payload.fromMe) { + // Ignore from me + return; + } + // Only READ and PLAYED return ( payload.ack === WAMessageAck.READ || payload.ack == WAMessageAck.PLAYED );