Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Search/ConversationSearch.php')
-rw-r--r--lib/Search/ConversationSearch.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/Search/ConversationSearch.php b/lib/Search/ConversationSearch.php
index bde25c053..8638ff63e 100644
--- a/lib/Search/ConversationSearch.php
+++ b/lib/Search/ConversationSearch.php
@@ -141,7 +141,7 @@ class ConversationSearch implements IProvider {
$iconClass = 'conversation-icon icon-contacts';
}
- $result[] = new SearchResultEntry(
+ $entry = new SearchResultEntry(
$icon,
$room->getDisplayName($user->getUID()),
'',
@@ -149,6 +149,10 @@ class ConversationSearch implements IProvider {
$iconClass,
true
);
+
+ $entry->addAttribute('conversation', $room->getToken());
+
+ $result[] = $entry;
}
return SearchResult::complete(