Merge pull request #2058 from nextcloud/bugfix/noid/fixNpeForChatPermission

avoid NPE when initializing chat permission
This commit is contained in:
Marcel Hibbe 2022-05-17 13:07:47 +02:00 committed by GitHub
commit f2417f09e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -312,9 +312,6 @@ class ChatController(args: Bundle) :
}
this.voiceOnly = args.getBoolean(BundleKeys.KEY_CALL_VOICE_ONLY, false)
hasChatPermission =
AttendeePermissionsUtil(currentConversation!!.permissions).hasChatPermission(conversationUser)
}
private fun getRoomInfo() {