From a8a0c701ae0d24a9c37726343c279d3a30f28e90 Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Wed, 2 Mar 2022 13:14:12 +0530 Subject: [PATCH] chore: add participant to msg body for notifications --- src/Socket/messages-recv.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Socket/messages-recv.ts b/src/Socket/messages-recv.ts index 29f829f..5ad9abf 100644 --- a/src/Socket/messages-recv.ts +++ b/src/Socket/messages-recv.ts @@ -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)