Ensure that the call is not closed when it is an External call.
This commit is contained in:
parent
5cd76a4646
commit
8a21f36115
1 changed files with 10 additions and 7 deletions
|
|
@ -149,6 +149,8 @@ class CallScreenPresenter(
|
||||||
.launchIn(this)
|
.launchIn(this)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (callType is CallType.RoomCall) {
|
||||||
|
// Note: For external calls isWidgetLoaded will always be false
|
||||||
LaunchedEffect(Unit) {
|
LaunchedEffect(Unit) {
|
||||||
// Wait for the call to be joined, if it takes too long, we display an error
|
// Wait for the call to be joined, if it takes too long, we display an error
|
||||||
delay(10.seconds)
|
delay(10.seconds)
|
||||||
|
|
@ -161,6 +163,7 @@ class CallScreenPresenter(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fun handleEvent(event: CallScreenEvents) {
|
fun handleEvent(event: CallScreenEvents) {
|
||||||
when (event) {
|
when (event) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue