]> source.dussan.org Git - nextcloud-server.git/commit
Show federation and email results also with exact user match unless containing @ 23085/head
authorJoas Schilling <coding@schilljs.com>
Wed, 23 Sep 2020 08:21:55 +0000 (10:21 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 29 Sep 2020 07:16:12 +0000 (07:16 +0000)
commit71b33fb87acb389003064960ba6667baf0366cf1
tree54b1b7c275e5c7c87bd282382b466169aa1e6c8f
parentfb426c90b7936a5bda2f2483c4ae42dff4811804
Show federation and email results also with exact user match unless containing @

Before when you have a user "smith" and a federated user "smith@example.com"
you could see the federation result with "smit" but not with "smith" anymore.
With most LDAP configurations and local backend setups this is disturbing and
causes issues.
The idea of not showing the email and federation on a matching user was with:
Local user registered with "smith@example.com" user id and having that same
email / cloud id in your contacts addressbook. So we now only hide those
"side results" when the search does contain an @

Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Collaboration/Collaborators/Search.php