fixing group messaging

This commit is contained in:
Rajeh Taher
2023-10-01 16:41:49 +00:00
parent 261afd144f
commit a11d2deaa5

View File

@@ -53,7 +53,7 @@ export const encodeBinaryNode = (
} }
const writeJid = ({ domainType, device, user, server }: FullJid) => { const writeJid = ({ domainType, device, user, server }: FullJid) => {
if(typeof domainType !== 'undefined' || typeof device !== 'undefined') { if(typeof device !== 'undefined') {
pushByte(TAGS.AD_JID) pushByte(TAGS.AD_JID)
pushByte(domainType || 0) pushByte(domainType || 0)
pushByte(device || 0) pushByte(device || 0)