mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 05:31:21 +03:00
Fix waring for state is not dialing or connected
This commit is contained in:
parent
a6d6fd7b3b
commit
03be698a7e
2 changed files with 2 additions and 1 deletions
1
changelog.d/4636.bugfix
Normal file
1
changelog.d/4636.bugfix
Normal file
|
@ -0,0 +1 @@
|
|||
Update log warning for call selection during voip calls.
|
|
@ -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 !is 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