message: Add addressing mode

This commit is contained in:
Rajeh Taher
2025-09-26 10:44:30 +03:00
parent 4344e5184a
commit d9fed62d00
3 changed files with 6 additions and 3 deletions
+1
View File
@@ -185,6 +185,7 @@ export function decodeMessageNode(stanza: BinaryNode, meId: string, meLid: strin
id: msgId,
participant,
participantAlt: isJidGroup(chatId) ? addressingContext.senderAlt : undefined,
addressingMode: addressingContext.addressingMode,
...(msgType === 'newsletter' && stanza.attrs.server_id ? { server_id: stanza.attrs.server_id } : {})
}