mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
Merge pull request #4240 from nextcloud/bugfix/4238/fixToHideMessageInputWhenNoRestriction
fix to hide messageInputFragment when user has no restriction to write
This commit is contained in:
commit
5351296afd
@ -577,7 +577,6 @@ class ChatActivity :
|
||||
|
||||
invalidateOptionsMenu()
|
||||
checkShowCallButtons()
|
||||
checkShowMessageInputView()
|
||||
checkLobbyState()
|
||||
updateRoomTimerHandler()
|
||||
}
|
||||
@ -603,6 +602,9 @@ class ChatActivity :
|
||||
loadAvatarForStatusBar()
|
||||
setupSwipeToReply()
|
||||
setActionBarTitle()
|
||||
|
||||
checkShowCallButtons()
|
||||
checkLobbyState()
|
||||
updateRoomTimerHandler()
|
||||
|
||||
val urlForChatting = ApiUtils.getUrlForChat(chatApiVersion, conversationUser?.baseUrl, roomToken)
|
||||
@ -1892,12 +1894,12 @@ class ChatActivity :
|
||||
} else {
|
||||
binding.lobby.lobbyView.visibility = View.GONE
|
||||
binding.messagesListView.visibility = View.VISIBLE
|
||||
binding.fragmentContainerActivityChat.visibility = View.VISIBLE
|
||||
checkShowMessageInputView()
|
||||
}
|
||||
} else {
|
||||
binding.lobby.lobbyView.visibility = View.GONE
|
||||
binding.messagesListView.visibility = View.VISIBLE
|
||||
binding.fragmentContainerActivityChat.visibility = View.VISIBLE
|
||||
checkShowMessageInputView()
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user