mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-27 08:55:54 +03:00
Connect the buttons with the actions also for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
932afc2b58
commit
c335a69413
1 changed files with 2 additions and 0 deletions
|
@ -1450,6 +1450,8 @@ class ChatController(args: Bundle) :
|
|||
inflater.inflate(R.menu.menu_conversation, menu)
|
||||
if (conversationUser?.userId == "?") {
|
||||
menu.removeItem(R.id.conversation_info)
|
||||
conversationVoiceCallMenuItem = menu.findItem(R.id.conversation_voice_call)
|
||||
conversationVideoMenuItem = menu.findItem(R.id.conversation_video_call)
|
||||
} else {
|
||||
conversationInfoMenuItem = menu.findItem(R.id.conversation_info)
|
||||
conversationVoiceCallMenuItem = menu.findItem(R.id.conversation_voice_call)
|
||||
|
|
Loading…
Reference in a new issue