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,9 +314,11 @@ class ConversationsListActivity :
|
||||
showServerEOLDialog()
|
||||
return
|
||||
}
|
||||
if (isUnifiedSearchAvailable(currentUser!!.capabilities?.spreedCapability!!)) {
|
||||
currentUser?.capabilities?.spreedCapability?.let { spreedCapabilities ->
|
||||
if (isUnifiedSearchAvailable(spreedCapabilities)) {
|
||||
searchHelper = MessageSearchHelper(unifiedSearchRepository)
|
||||
}
|
||||
}
|
||||
credentials = ApiUtils.getCredentials(currentUser!!.username, currentUser!!.token)
|
||||
|
||||
loadUserAvatar(binding.switchAccountButton)
|
||||
|
Loading…
Reference in New Issue
Block a user