Don't peek group calls if feature flag is disabled
This commit is contained in:
parent
c151d09088
commit
ec35bdc3e5
1 changed files with 5 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue