From 9960970550a4cf2529b1455ab9fdd70cb4ea4eaf Mon Sep 17 00:00:00 2001 From: Jamie Kyle <113370520+jamiebuilds-signal@users.noreply.github.com> Date: Mon, 23 Oct 2023 13:31:07 -0700 Subject: [PATCH] Peek group call on ring update --- ts/services/calling.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ts/services/calling.ts b/ts/services/calling.ts index d714cec481..2eada3c7a8 100644 --- a/ts/services/calling.ts +++ b/ts/services/calling.ts @@ -171,6 +171,7 @@ type CallingReduxInterface = Pick< | 'remoteVideoChange' | 'setPresenting' | 'startCallingLobby' + | 'peekNotConnectedGroupCall' > & { areAnyCallsActiveOrRinging(): boolean; }; @@ -1897,6 +1898,12 @@ export class CallingClass { return; } + if (update === RingUpdate.Requested) { + this.reduxInterface?.peekNotConnectedGroupCall({ + conversationId: conversation.id, + }); + } + const logId = `handleGroupCallRingUpdate(${conversation.idForLogging()})`; if (conversation.isBlocked()) { log.warn(`${logId}: is blocked`);