chore: add participant to msg body for notifications

This commit is contained in:
Adhiraj Singh
2022-03-02 13:14:12 +05:30
parent 3d56d610ae
commit a8a0c701ae

View File

@@ -518,6 +518,7 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
id: node.attrs.id,
...(msg.key || {})
}
msg.participant = node.attrs.participant
msg.messageTimestamp = +node.attrs.t
const fullMsg = proto.WebMessageInfo.fromObject(msg)