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()
|
invalidateOptionsMenu()
|
||||||
checkShowCallButtons()
|
checkShowCallButtons()
|
||||||
checkShowMessageInputView()
|
|
||||||
checkLobbyState()
|
checkLobbyState()
|
||||||
updateRoomTimerHandler()
|
updateRoomTimerHandler()
|
||||||
}
|
}
|
||||||
@ -603,6 +602,9 @@ class ChatActivity :
|
|||||||
loadAvatarForStatusBar()
|
loadAvatarForStatusBar()
|
||||||
setupSwipeToReply()
|
setupSwipeToReply()
|
||||||
setActionBarTitle()
|
setActionBarTitle()
|
||||||
|
|
||||||
|
checkShowCallButtons()
|
||||||
|
checkLobbyState()
|
||||||
updateRoomTimerHandler()
|
updateRoomTimerHandler()
|
||||||
|
|
||||||
val urlForChatting = ApiUtils.getUrlForChat(chatApiVersion, conversationUser?.baseUrl, roomToken)
|
val urlForChatting = ApiUtils.getUrlForChat(chatApiVersion, conversationUser?.baseUrl, roomToken)
|
||||||
@ -1892,12 +1894,12 @@ class ChatActivity :
|
|||||||
} else {
|
} else {
|
||||||
binding.lobby.lobbyView.visibility = View.GONE
|
binding.lobby.lobbyView.visibility = View.GONE
|
||||||
binding.messagesListView.visibility = View.VISIBLE
|
binding.messagesListView.visibility = View.VISIBLE
|
||||||
binding.fragmentContainerActivityChat.visibility = View.VISIBLE
|
checkShowMessageInputView()
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
binding.lobby.lobbyView.visibility = View.GONE
|
binding.lobby.lobbyView.visibility = View.GONE
|
||||||
binding.messagesListView.visibility = View.VISIBLE
|
binding.messagesListView.visibility = View.VISIBLE
|
||||||
binding.fragmentContainerActivityChat.visibility = View.VISIBLE
|
checkShowMessageInputView()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user