From ae8395e6df4a59200c24700093ff9dae89aa0387 Mon Sep 17 00:00:00 2001 From: Bob <115008575+FortisEtMagnus@users.noreply.github.com> Date: Wed, 6 Dec 2023 07:00:15 -0300 Subject: [PATCH] Update messages-recv.ts --- src/Socket/messages-recv.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Socket/messages-recv.ts b/src/Socket/messages-recv.ts index 5ed6a7a..1318fbb 100644 --- a/src/Socket/messages-recv.ts +++ b/src/Socket/messages-recv.ts @@ -744,7 +744,8 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => { if(status === 'offer') { call.isVideo = !!getBinaryNodeChild(infoChild, 'video') - call.isGroup = infoChild.attrs.type === 'group' + call.isGroup = infoChild.attrs.type === 'group' || !!infoChild.attrs['group-jid'] + call.groupJid = infoChild.attrs['group-jid'] callOfferCache.set(call.id, call) }