Quellcode durchsuchen

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

avoid NPE when initializing chat permission
Marcel Hibbe vor 2 Jahren
Ursprung
Commit
f2417f09e6

+ 0 - 3
app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt

@@ -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() {