mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-07 21:09:46 +01:00
fix crash
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
5606254a4a
commit
b9667e45c0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user