Expose capability if the lookup server should be queried by default

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2019-11-28 10:50:48 +01:00
parent 7a45413559
commit 5e14b299bc
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 5 additions and 0 deletions

View File

@ -112,6 +112,11 @@ class Capabilities implements ICapability {
'expire_date' => ['enabled' => true]
];
// Sharee searches
$res['sharee'] = [
'query_lookup_default' => $this->config->getSystemValueBool('gs.enabled', false)
];
return [
'files_sharing' => $res,
];