[core] WEBJS - fix error for message.ack

TypeError: You provided 'null' where a stream was expected.
This commit is contained in:
devlikepro committed 2025-07-06 16:48:47 +07:00
1 parent 87640ea238
commit 5c31ed53df
1 file changed
+1
@@ -1509,6 +1509,7 @@ export class WhatsappSessionWebJSCore extends WhatsappSession {
mergeMap((node) =>
TagReceiptNodeToReceiptEvent(node as any, this.getSessionMeInfo()),
),
filter(Boolean),
mergeMap(this.TagReceiptToMessageAck.bind(this)),
filter((ack) => isJidGroup(ack.to) || isJidStatusBroadcast(ack.to)),
);