Update messages-recv.ts

This commit is contained in:
Bob
2023-12-06 07:00:15 -03:00
committed by GitHub
parent e097c2b24f
commit ae8395e6df

View File

@@ -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)
}