Calling: Never show lobby for incoming call
This commit is contained in:
parent
8703b0e020
commit
f985d55d5c
1 changed files with 5 additions and 0 deletions
|
@ -89,6 +89,11 @@ const mapStateToActiveCallProp = (
|
||||||
|
|
||||||
switch (call.callMode) {
|
switch (call.callMode) {
|
||||||
case CallMode.Direct:
|
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 {
|
return {
|
||||||
...baseResult,
|
...baseResult,
|
||||||
callEndedReason: call.callEndedReason,
|
callEndedReason: call.callEndedReason,
|
||||||
|
|
Loading…
Reference in a new issue