mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
fix crash
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
a9bef30da7
commit
de07e127e9
@ -327,7 +327,6 @@ class ConversationInfoActivity :
|
||||
when (state) {
|
||||
is ConversationInfoViewModel.GetCapabilitiesSuccessState -> {
|
||||
spreedCapabilities = state.spreedCapabilities
|
||||
|
||||
handleConversation()
|
||||
}
|
||||
|
||||
@ -905,8 +904,7 @@ class ConversationInfoActivity :
|
||||
|
||||
@Suppress("LongMethod")
|
||||
private fun handleConversation() {
|
||||
val conversationCopy = conversation!!
|
||||
|
||||
val conversationCopy = conversation ?: return
|
||||
setUpNotificationSettings(databaseStorageModule!!)
|
||||
|
||||
if (hasSpreedFeatureCapability(spreedCapabilities, SpreedFeatures.RICH_OBJECT_LIST_MEDIA) &&
|
||||
|
Loading…
Reference in New Issue
Block a user