Skip to content

Commit 5c31ed5

Browse files
committed
[core] WEBJS - fix error for message.ack
TypeError: You provided 'null' where a stream was expected.
1 parent 87640ea commit 5c31ed5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/engines/webjs/session.webjs.core.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1509,6 +1509,7 @@ export class WhatsappSessionWebJSCore extends WhatsappSession {
15091509
mergeMap((node) =>
15101510
TagReceiptNodeToReceiptEvent(node as any, this.getSessionMeInfo()),
15111511
),
1512+
filter(Boolean),
15121513
mergeMap(this.TagReceiptToMessageAck.bind(this)),
15131514
filter((ack) => isJidGroup(ack.to) || isJidStatusBroadcast(ack.to)),
15141515
);

0 commit comments

Comments
 (0)