And remove braces

This commit is contained in:
David Langley 2021-12-03 11:30:28 +00:00
parent 0cf50e88e9
commit de7180ef7e

View file

@ -203,9 +203,8 @@ 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) { if (!isOutgoing) return
return
}
// This is an outgoing call, select the remote client that answered. // This is an outgoing call, select the remote client that answered.
// state is still DIALING. // state is still DIALING.
CallSelectAnswerContent( CallSelectAnswerContent(