Added a check for the group member length to prevent lonely ringing
This commit is contained in:
parent
8e4de33d71
commit
dcba979b02
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue