Skip to content

Commit

Permalink
impl Marcel's review
Browse files Browse the repository at this point in the history
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
  • Loading branch information
rapterjet2004 committed Jun 5, 2024
1 parent ab34132 commit 1542a08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 0 additions & 14 deletions app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -547,20 +547,6 @@ class ChatActivity :
checkShowCallButtons()
checkShowMessageInputView()
checkLobbyState()

if (!validSessionId()) {
joinRoomWithPassword()
chatViewModel.refreshChatParams(
setupFieldsForPullChatMessages(
false,
0,
false
)
)
} else {
Log.d(TAG, "already inConversation. joinRoomWithPassword is skipped")
}

updateRoomTimerHandler()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,8 @@ class ChatViewModel @Inject constructor(

override fun onNext(t: GenericOverall) {
_leaveRoomViewState.value = LeaveRoomSuccessState(funToCallWhenLeaveSuccessful)
_getCapabilitiesViewState.value = GetCapabilitiesStartState
_getRoomViewState.value = GetRoomStartState
}
})
}
Expand Down

0 comments on commit 1542a08

Please sign in to comment.