mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-22 04:55:29 +03:00
fix logic to show UnifiedSearch results when federation capability exists
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
270d76554f
commit
bef414fc10
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ object CapabilitiesUtil {
|
|||
}
|
||||
|
||||
fun isUnifiedSearchAvailable(spreedCapabilities: SpreedCapability): Boolean {
|
||||
if (hasSpreedFeatureCapability(spreedCapabilities, SpreedFeatures.FEDERATION_V1)) {
|
||||
if (!hasSpreedFeatureCapability(spreedCapabilities, SpreedFeatures.FEDERATION_V1)) {
|
||||
return false
|
||||
}
|
||||
return hasSpreedFeatureCapability(spreedCapabilities, SpreedFeatures.UNIFIED_SEARCH)
|
||||
|
|
Loading…
Reference in a new issue