mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-09-29 00:14:16 +01:00
Don't notify for non-ringing group calls in muted chats
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
This commit is contained in:
co-authored by
trevor-signal
parent
ebffe5b7d4
commit
1fe43d231e
@@ -4385,15 +4385,11 @@ class CallingClass {
|
||||
);
|
||||
const isAnybodyElseInGroupCall = Boolean(peekInfo?.devices.length);
|
||||
|
||||
const isAllowedWhileMuted =
|
||||
!conversation.isMuted() ||
|
||||
getNotifyWhileMutedForConversation(conversation.attributes).calls;
|
||||
|
||||
if (
|
||||
isNewCall &&
|
||||
!wasStartedByMe &&
|
||||
isAnybodyElseInGroupCall &&
|
||||
isAllowedWhileMuted
|
||||
!conversation.isMuted()
|
||||
) {
|
||||
await this.#notifyForGroupCall(conversation, creatorConversation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user