Skip to content

Commit

Permalink
Merge pull request #4359 from nextcloud/remove-dead-code-to-set-the-c…
Browse files Browse the repository at this point in the history
…all-state

Remove dead code to set the call state
  • Loading branch information
mahibi authored Oct 22, 2024
2 parents ea00481 + fdb8692 commit 59505c4
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,11 +393,9 @@ class CallActivity : CallBaseActivity() {
baseUrl = conversationUser!!.baseUrl
}
powerManagerUtils = PowerManagerUtils()
if ("resume".equals(extras.getString("state", ""), ignoreCase = true)) {
setCallState(CallStatus.IN_CONVERSATION)
} else {
setCallState(CallStatus.CONNECTING)
}

setCallState(CallStatus.CONNECTING)

raiseHandViewModel = ViewModelProvider(this, viewModelFactory).get(RaiseHandViewModel::class.java)
raiseHandViewModel!!.setData(roomToken!!, isBreakoutRoom)
raiseHandViewModel!!.viewState.observe(this) { viewState: RaiseHandViewModel.ViewState? ->
Expand Down

0 comments on commit 59505c4

Please sign in to comment.