diff --git a/src/Utils/decode-wa-message.ts b/src/Utils/decode-wa-message.ts index fc210f48..394be1b9 100644 --- a/src/Utils/decode-wa-message.ts +++ b/src/Utils/decode-wa-message.ts @@ -111,7 +111,7 @@ export function decodeMessageNode(stanza: BinaryNode, meId: string, meLid: strin fromMe, id: msgId, senderLid: stanza?.attrs?.sender_lid, - senderPn: stanza?.attrs?.sender_pn, + senderPn: stanza?.attrs?.sender_pn || stanza?.attrs?.peer_recipient_pn, participant, participantPn: stanza?.attrs?.participant_pn, participantLid: stanza?.attrs?.participant_lid,