update permissions in getRoomInfo

so they are updated on the fly..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2022-05-11 09:59:40 +02:00
parent be29459955
commit 7c4e7c22df
No known key found for this signature in database
GPG Key ID: C793F8B59F43CE7B

View File

@ -343,8 +343,11 @@ class ChatController(args: Bundle) :
" sessionId: " + currentConversation?.sessionId " sessionId: " + currentConversation?.sessionId
) )
loadAvatarForStatusBar() loadAvatarForStatusBar()
setTitle() setTitle()
hasChatPermission =
AttendeePermissionsUtil(currentConversation!!.permissions).hasChatPermission(conversationUser)
try { try {
setupMentionAutocomplete() setupMentionAutocomplete()
checkShowCallButtons() checkShowCallButtons()