Skip to content

Commit

Permalink
Don't peek group calls if feature flag is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanHahn-Signal committed Dec 7, 2020
1 parent c151d09 commit ec35bdc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ts/background.ts
Expand Up @@ -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(
Expand Down

0 comments on commit ec35bdc

Please sign in to comment.