We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a9bef30 + de07e12 commit 1e1a8f7Copy full SHA for 1e1a8f7
app/src/main/java/com/nextcloud/talk/conversationinfo/ConversationInfoActivity.kt
@@ -327,7 +327,6 @@ class ConversationInfoActivity :
327
when (state) {
328
is ConversationInfoViewModel.GetCapabilitiesSuccessState -> {
329
spreedCapabilities = state.spreedCapabilities
330
-
331
handleConversation()
332
}
333
@@ -905,8 +904,7 @@ class ConversationInfoActivity :
905
904
906
@Suppress("LongMethod")
907
private fun handleConversation() {
908
- val conversationCopy = conversation!!
909
+ val conversationCopy = conversation ?: return
910
setUpNotificationSettings(databaseStorageModule!!)
911
912
if (hasSpreedFeatureCapability(spreedCapabilities, SpreedFeatures.RICH_OBJECT_LIST_MEDIA) &&
0 commit comments