mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: add participant to msg body for notifications
This commit is contained in:
@@ -518,6 +518,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
|||||||
id: node.attrs.id,
|
id: node.attrs.id,
|
||||||
...(msg.key || {})
|
...(msg.key || {})
|
||||||
}
|
}
|
||||||
|
msg.participant = node.attrs.participant
|
||||||
msg.messageTimestamp = +node.attrs.t
|
msg.messageTimestamp = +node.attrs.t
|
||||||
|
|
||||||
const fullMsg = proto.WebMessageInfo.fromObject(msg)
|
const fullMsg = proto.WebMessageInfo.fromObject(msg)
|
||||||
|
|||||||
Reference in New Issue
Block a user