fix crash

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
sowjanyakch 2025-07-04 21:33:47 +02:00 committed by backportbot[bot]
parent 2fade40b2e
commit 14a7eca808

View File

@ -298,7 +298,7 @@ class ConversationsListActivity :
} else {
binding.loadingContent.visibility = View.GONE
}
adapter!!.addListener(this)
adapter?.addListener(this)
prepareViews()
showNotificationWarning()
@ -314,7 +314,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)