mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
Update messages-recv.ts
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user