diff --git a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/call/model/MxCallImpl.kt b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/call/model/MxCallImpl.kt index 1f89c39f29..cda513e9d2 100644 --- a/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/call/model/MxCallImpl.kt +++ b/matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/call/model/MxCallImpl.kt @@ -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,