From 5e14b299bcf534e820278939ab98f7ea63858daf Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Thu, 28 Nov 2019 10:50:48 +0100 Subject: [PATCH] Expose capability if the lookup server should be queried by default Signed-off-by: Roeland Jago Douma --- apps/files_sharing/lib/Capabilities.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/files_sharing/lib/Capabilities.php b/apps/files_sharing/lib/Capabilities.php index 26062ef51bc..ec475f61e91 100644 --- a/apps/files_sharing/lib/Capabilities.php +++ b/apps/files_sharing/lib/Capabilities.php @@ -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, ]; -- 2.39.5