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:
automated-signal
2026-09-10 11:30:56 +00:00
committed by GitHub
co-authored by trevor-signal
parent ebffe5b7d4
commit 1fe43d231e
+1 -5
View File
@@ -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);
}