diff --git a/ts/background.ts b/ts/background.ts index 665c0d3aeea..f2e634a60fb 100644 --- a/ts/background.ts +++ b/ts/background.ts @@ -2655,9 +2655,11 @@ type WhatIsThis = import('./window.d').WhatIsThis; if (data.message.groupCallUpdate) { if (data.message.groupV2 && messageDescriptor.type === Message.GROUP) { - window.reduxActions.calling.peekNotConnectedGroupCall({ - conversationId: messageDescriptor.id, - }); + if (window.GROUP_CALLING) { + window.reduxActions.calling.peekNotConnectedGroupCall({ + conversationId: messageDescriptor.id, + }); + } return Promise.resolve(); } window.log.warn(