mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Add warning if unexpected state.
This commit is contained in:
parent
cd7345aa6b
commit
767ead019a
1 changed files with 3 additions and 1 deletions
|
@ -205,7 +205,9 @@ internal class MxCallImpl(
|
|||
Timber.tag(loggerTag.value).v("select answer $callId")
|
||||
if (!isOutgoing) return
|
||||
// This is an outgoing call, select the remote client that answered.
|
||||
// state is still DIALING.
|
||||
if (state != CallState.Dialing) {
|
||||
Timber.tag(loggerTag.value).w("Expected state is CallState.Dialing got $state.")
|
||||
}
|
||||
CallSelectAnswerContent(
|
||||
callId = callId,
|
||||
partyId = ourPartyId,
|
||||
|
|
Loading…
Reference in a new issue