mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-09 13:59:48 +01:00
avoid null
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
b9667e45c0
commit
b3e89633fa
@ -316,8 +316,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