mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 10:55:55 +03:00
use != rather that is
This commit is contained in:
parent
03be698a7e
commit
747030b578
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ 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.
|
||||
if (state !is CallState.Dialing && state !is CallState.Connected) {
|
||||
if (state != CallState.Dialing && state !is CallState.Connected) {
|
||||
Timber.tag(loggerTag.value).w("Expected state is CallState.Dialing or CallState.Connected got $state.")
|
||||
}
|
||||
CallSelectAnswerContent(
|
||||
|
|
Loading…
Reference in a new issue