messages: No longer send <ack>s on successful decrypt + fix lid acks

This commit is contained in:
Rajeh Taher
2025-10-02 23:30:28 +03:00
parent 2d656424d6
commit 39541cc162
2 changed files with 3 additions and 13 deletions
+2 -1
View File
@@ -42,6 +42,7 @@ import {
getBinaryNodeChild,
getBinaryNodeChildren,
isJidGroup,
isLidUser,
isPnUser,
jidDecode,
jidEncode,
@@ -152,7 +153,7 @@ export const makeMessagesSocket = (config: SocketConfig) => {
node.attrs.t = unixTimestampSeconds().toString()
}
if (type === 'sender' && isPnUser(jid)) {
if (type === 'sender' && (isPnUser(jid) || isLidUser(jid))) {
node.attrs.recipient = jid
node.attrs.to = participant!
} else {