Calling: Never show lobby for incoming call

This commit is contained in:
Scott Nonnenberg
2021-08-10 10:15:35 -07:00
committed by GitHub
parent 8703b0e020
commit f985d55d5c

View File

@@ -89,6 +89,11 @@ const mapStateToActiveCallProp = (
switch (call.callMode) {
case CallMode.Direct:
// If the call is incoming, it's not an 'active' call and we shouldn't show a lobby.
if (call.isIncoming) {
return;
}
return {
...baseResult,
callEndedReason: call.callEndedReason,