Skip to content

Commit 0a57645

Browse files
authored
Merge pull request #14325 from nextcloud/fix/always_query_lookup_server_in_gs_mode
Always query lookup server in GS mode
2 parents 0ae68c7 + 22528d1 commit 0a57645

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/Collaboration/Collaborators/LookupPlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function search($search, $limit, $offset, ISearchResult $searchResult) {
6666
$hasInternetConnection = (bool)$this->config->getSystemValue('has_internet_connection', true);
6767

6868
// if case of Global Scale we always search the lookup server
69-
if ((!$isLookupServerEnabled && !$isGlobalScaleEnabled) || !$hasInternetConnection) {
69+
if (!$isGlobalScaleEnabled && (!$isLookupServerEnabled || !$hasInternetConnection)) {
7070
return false;
7171
}
7272

0 commit comments

Comments
 (0)