summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-10-04 15:33:17 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-10-20 13:58:06 +0200
commite7f5516b4d04c16ed2c12dcc9c9c5f34d9f1f73b (patch)
treea4c187c3dacfa5e9bf28fb97941678a515f3e571 /lib
parent3d2024faf94720125855db980d8bbebb658902d1 (diff)
downloadnextcloud-server-e7f5516b4d04c16ed2c12dcc9c9c5f34d9f1f73b.tar.gz
nextcloud-server-e7f5516b4d04c16ed2c12dcc9c9c5f34d9f1f73b.zip
Init vue comments tab
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/Collaboration/Collaborators/UserPlugin.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/private/Collaboration/Collaborators/UserPlugin.php b/lib/private/Collaboration/Collaborators/UserPlugin.php
index 2d21c6a16f7..0b3a279182b 100644
--- a/lib/private/Collaboration/Collaborators/UserPlugin.php
+++ b/lib/private/Collaboration/Collaborators/UserPlugin.php
@@ -156,6 +156,8 @@ class UserPlugin implements ISearchPlugin {
}
$result['exact'][] = [
'label' => $userDisplayName,
+ 'subline' => $status['message'],
+ 'icon' => 'icon-user',
'value' => [
'shareType' => IShare::TYPE_USER,
'shareWith' => $uid,
@@ -178,6 +180,8 @@ class UserPlugin implements ISearchPlugin {
if ($addToWideResults) {
$result['wide'][] = [
'label' => $userDisplayName,
+ 'subline' => $status['message'],
+ 'icon' => 'icon-user',
'value' => [
'shareType' => IShare::TYPE_USER,
'shareWith' => $uid,
@@ -217,6 +221,8 @@ class UserPlugin implements ISearchPlugin {
$result['exact'][] = [
'label' => $user->getDisplayName(),
+ 'icon' => 'icon-user',
+ 'subline' => $status['message'],
'value' => [
'shareType' => IShare::TYPE_USER,
'shareWith' => $user->getUID(),