summaryrefslogtreecommitdiffstats
path: root/lib/private/Collaboration/Collaborators/RemotePlugin.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-10-26 13:46:47 +0200
committerJulius Härtl <jus@bitgrid.net>2018-10-30 10:19:36 +0100
commitcb463d73d5b4955935d4a0c0f4782d1a23472e2d (patch)
tree0b65851a96e15771738caabfa1e8e8644f58b9a4 /lib/private/Collaboration/Collaborators/RemotePlugin.php
parentf116461d4b435b28cd62c3c121a33108e8812e56 (diff)
downloadnextcloud-server-cb463d73d5b4955935d4a0c0f4782d1a23472e2d.tar.gz
nextcloud-server-cb463d73d5b4955935d4a0c0f4782d1a23472e2d.zip
Add name field to mail and remote results
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Collaboration/Collaborators/RemotePlugin.php')
-rw-r--r--lib/private/Collaboration/Collaborators/RemotePlugin.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/Collaboration/Collaborators/RemotePlugin.php b/lib/private/Collaboration/Collaborators/RemotePlugin.php
index abe99125512..0eab02ab0fa 100644
--- a/lib/private/Collaboration/Collaborators/RemotePlugin.php
+++ b/lib/private/Collaboration/Collaborators/RemotePlugin.php
@@ -109,6 +109,7 @@ class RemotePlugin implements ISearchPlugin {
$result['exact'][] = [
'label' => $contact['FN'] . " ($cloudId)",
'uuid' => $contact['UID'],
+ 'name' => $contact['FN'],
'type' => $cloudIdType,
'value' => [
'shareType' => Share::SHARE_TYPE_REMOTE,
@@ -120,6 +121,7 @@ class RemotePlugin implements ISearchPlugin {
$result['wide'][] = [
'label' => $contact['FN'] . " ($cloudId)",
'uuid' => $contact['UID'],
+ 'name' => $contact['FN'],
'type' => $cloudIdType,
'value' => [
'shareType' => Share::SHARE_TYPE_REMOTE,