mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
Merge pull request #2058 from nextcloud/bugfix/noid/fixNpeForChatPermission
avoid NPE when initializing chat permission
This commit is contained in:
commit
f2417f09e6
@ -312,9 +312,6 @@ class ChatController(args: Bundle) :
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.voiceOnly = args.getBoolean(BundleKeys.KEY_CALL_VOICE_ONLY, false)
|
this.voiceOnly = args.getBoolean(BundleKeys.KEY_CALL_VOICE_ONLY, false)
|
||||||
|
|
||||||
hasChatPermission =
|
|
||||||
AttendeePermissionsUtil(currentConversation!!.permissions).hasChatPermission(conversationUser)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getRoomInfo() {
|
private fun getRoomInfo() {
|
||||||
|
Loading…
Reference in New Issue
Block a user