mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-27 22:55:08 +01:00
avoid null
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
14a7eca808
commit
b6f92a10a4
@ -314,8 +314,10 @@ class ConversationsListActivity :
|
|||||||
showServerEOLDialog()
|
showServerEOLDialog()
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (isUnifiedSearchAvailable(currentUser!!.capabilities?.spreedCapability!!)) {
|
currentUser?.capabilities?.spreedCapability?.let { spreedCapabilities ->
|
||||||
searchHelper = MessageSearchHelper(unifiedSearchRepository)
|
if (isUnifiedSearchAvailable(spreedCapabilities)) {
|
||||||
|
searchHelper = MessageSearchHelper(unifiedSearchRepository)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
credentials = ApiUtils.getCredentials(currentUser!!.username, currentUser!!.token)
|
credentials = ApiUtils.getCredentials(currentUser!!.username, currentUser!!.token)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user