fix crash

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-07-04 21:33:47 +02:00
parent 5606254a4a
commit b9667e45c0
No known key found for this signature in database
GPG Key ID: F7AA2A8B65B50220

View File

@ -300,7 +300,7 @@ class ConversationsListActivity :
} else {
binding.loadingContent.visibility = View.GONE
}
adapter!!.addListener(this)
adapter?.addListener(this)
prepareViews()
showNotificationWarning()
@ -316,7 +316,7 @@ class ConversationsListActivity :
showServerEOLDialog()
return
}
if (isUnifiedSearchAvailable(currentUser!!.capabilities!!.spreedCapability!!)) {
if (isUnifiedSearchAvailable(currentUser!!.capabilities?.spreedCapability!!)) {
searchHelper = MessageSearchHelper(unifiedSearchRepository)
}
credentials = ApiUtils.getCredentials(currentUser!!.username, currentUser!!.token)