mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-02-18 04:50:08 +03:00
state can also be connected
This commit is contained in:
parent
767ead019a
commit
a6d6fd7b3b
1 changed files with 2 additions and 2 deletions
|
@ -205,8 +205,8 @@ internal class MxCallImpl(
|
||||||
Timber.tag(loggerTag.value).v("select answer $callId")
|
Timber.tag(loggerTag.value).v("select answer $callId")
|
||||||
if (!isOutgoing) return
|
if (!isOutgoing) return
|
||||||
// This is an outgoing call, select the remote client that answered.
|
// This is an outgoing call, select the remote client that answered.
|
||||||
if (state != CallState.Dialing) {
|
if (state is CallState.Dialing || state is CallState.Connected) {
|
||||||
Timber.tag(loggerTag.value).w("Expected state is CallState.Dialing got $state.")
|
Timber.tag(loggerTag.value).w("Expected state is CallState.Dialing or CallState.Connected got $state.")
|
||||||
}
|
}
|
||||||
CallSelectAnswerContent(
|
CallSelectAnswerContent(
|
||||||
callId = callId,
|
callId = callId,
|
||||||
|
|
Loading…
Add table
Reference in a new issue