select answer should be used for outgoing calls.
This commit is contained in:
parent
7c4460b812
commit
f3b3c880d0
|
@ -203,8 +203,9 @@ internal class MxCallImpl(
|
||||||
|
|
||||||
override fun selectAnswer() {
|
override fun selectAnswer() {
|
||||||
Timber.tag(loggerTag.value).v("select answer $callId")
|
Timber.tag(loggerTag.value).v("select answer $callId")
|
||||||
if (isOutgoing) return
|
if (isOutgoing) {
|
||||||
state = CallState.Answering
|
// This is an outgoing call, select the remote client that answered.
|
||||||
|
// state is still DIALING.
|
||||||
CallSelectAnswerContent(
|
CallSelectAnswerContent(
|
||||||
callId = callId,
|
callId = callId,
|
||||||
partyId = ourPartyId,
|
partyId = ourPartyId,
|
||||||
|
@ -215,6 +216,8 @@ internal class MxCallImpl(
|
||||||
.also { eventSenderProcessor.postEvent(it) }
|
.also { eventSenderProcessor.postEvent(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
override suspend fun transfer(targetUserId: String,
|
override suspend fun transfer(targetUserId: String,
|
||||||
targetRoomId: String?,
|
targetRoomId: String?,
|
||||||
createCallId: String?,
|
createCallId: String?,
|
||||||
|
|
Loading…
Reference in New Issue