From 0f1670be8a1fa25ebab9b5d7bdf074adf1587e4d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 8 Dec 2021 16:59:32 +0100 Subject: Only limit search in the system address book Signed-off-by: Joas Schilling --- lib/private/Collaboration/Collaborators/MailPlugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/private/Collaboration') diff --git a/lib/private/Collaboration/Collaborators/MailPlugin.php b/lib/private/Collaboration/Collaborators/MailPlugin.php index 59861247ced..7c245c4f9c4 100644 --- a/lib/private/Collaboration/Collaborators/MailPlugin.php +++ b/lib/private/Collaboration/Collaborators/MailPlugin.php @@ -107,7 +107,8 @@ class MailPlugin implements ISearchPlugin { [ 'limit' => $limit, 'offset' => $offset, - 'wildcard' => $this->shareeEnumeration, + 'enumeration' => $this->shareeEnumeration, + 'fullmatch' => $this->shareeEnumerationFullMatch, ] ); $lowerSearch = strtolower($search); -- cgit v1.2.3