For outgoing 1:1 calls, start ringing on prering status

This commit is contained in:
Scott Nonnenberg 2024-11-16 07:53:05 +10:00 committed by GitHub
parent 692b0ae189
commit cce9670abd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,6 +45,14 @@ export const getRingingCall = (
return false;
}
if (
activeCallState?.state === 'Active' &&
activeCallState?.outgoingRing &&
call.callState === CallState.Prering
) {
return true;
}
return call.callState === CallState.Ringing && call.callEndedReason == null;
});