mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
Merge pull request #2391 from nextcloud/fix-checking-lobby-state-from-chat-controller-while-in-a-call
Fix checking lobby state from chat controller while in a call
This commit is contained in:
commit
109124fb3b
1 changed files with 7 additions and 0 deletions
|
@ -1822,6 +1822,12 @@ class ChatController(args: Bundle) :
|
||||||
activity?.findViewById<View>(R.id.toolbar)?.setOnClickListener(null)
|
activity?.findViewById<View>(R.id.toolbar)?.setOnClickListener(null)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
checkingLobbyStatus = false
|
||||||
|
|
||||||
|
if (lobbyTimerHandler != null) {
|
||||||
|
lobbyTimerHandler?.removeCallbacksAndMessages(null)
|
||||||
|
}
|
||||||
|
|
||||||
if (conversationUser != null && isActivityNotChangingConfigurations() && isNotInCall()) {
|
if (conversationUser != null && isActivityNotChangingConfigurations() && isNotInCall()) {
|
||||||
ApplicationWideCurrentRoomHolder.getInstance().clear()
|
ApplicationWideCurrentRoomHolder.getInstance().clear()
|
||||||
if (inConversation && validSessionId()) {
|
if (inConversation && validSessionId()) {
|
||||||
|
@ -1956,6 +1962,7 @@ class ChatController(args: Bundle) :
|
||||||
currentConversation?.sessionId
|
currentConversation?.sessionId
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
checkLobbyState()
|
||||||
if (isFirstMessagesProcessing) {
|
if (isFirstMessagesProcessing) {
|
||||||
pullChatMessages(0)
|
pullChatMessages(0)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue