Don't show a notification for non-ringing calls in muted groups

This commit is contained in:
Jordan Rose
2021-12-02 14:49:31 -06:00
committed by GitHub
parent a0b3464e15
commit ee8d0196b1
+6 -1
View File
@@ -2019,7 +2019,12 @@ export class CallingClass {
);
const isAnybodyElseInGroupCall = Boolean(peekInfo.joinedMembers.length);
if (isNewCall && !wasStartedByMe && isAnybodyElseInGroupCall) {
if (
isNewCall &&
!wasStartedByMe &&
isAnybodyElseInGroupCall &&
!conversation.isMuted()
) {
this.notifyForGroupCall(conversation, creatorConversation);
}
}