From 7c4e7c22dfabf3a740f0f8e932cb15c0de6b4f81 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Wed, 11 May 2022 09:59:40 +0200 Subject: [PATCH] update permissions in getRoomInfo so they are updated on the fly.. Signed-off-by: Marcel Hibbe --- .../java/com/nextcloud/talk/controllers/ChatController.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt index 537de9726..2d4b2fbc1 100644 --- a/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt +++ b/app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt @@ -343,8 +343,11 @@ class ChatController(args: Bundle) : " sessionId: " + currentConversation?.sessionId ) loadAvatarForStatusBar() - setTitle() + + hasChatPermission = + AttendeePermissionsUtil(currentConversation!!.permissions).hasChatPermission(conversationUser) + try { setupMentionAutocomplete() checkShowCallButtons()