From dcba979b022aff78380df4eb0acd02166e88867b Mon Sep 17 00:00:00 2001 From: lamemakes Date: Fri, 10 Feb 2023 12:33:37 -0500 Subject: [PATCH] Added a check for the group member length to prevent lonely ringing --- ts/components/CallScreen.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ts/components/CallScreen.tsx b/ts/components/CallScreen.tsx index 25f056b10..ae23e64f3 100644 --- a/ts/components/CallScreen.tsx +++ b/ts/components/CallScreen.tsx @@ -294,7 +294,9 @@ export function CallScreen({ } case CallMode.Group: isRinging = - activeCall.outgoingRing && !activeCall.remoteParticipants.length; + activeCall.outgoingRing && + !activeCall.remoteParticipants.length && + !(groupMembers?.length === 1 && groupMembers[0].id === me.id); hasCallStarted = activeCall.joinState !== GroupCallJoinState.NotJoined; participantCount = activeCall.remoteParticipants.length + 1;