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:
authorJoas Schilling <coding@schilljs.com>2019-07-08 13:24:39 +0300
committerJoas Schilling <coding@schilljs.com>2019-07-08 13:24:39 +0300
commitd166ea85a3540747d039e7836e53203b822105b4 (patch)
tree9939d61654be107d23b74d2b7d022aa58a23aa94 /lib/Controller
parent8f40b183c1ad567a0b4b5c893822a8a958cc8c5d (diff)
Sort mentions with the searched start first
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/ChatController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Controller/ChatController.php b/lib/Controller/ChatController.php
index b920f7478..028e4f0f6 100644
--- a/lib/Controller/ChatController.php
+++ b/lib/Controller/ChatController.php
@@ -298,6 +298,7 @@ class ChatController extends AEnvironmentAwareController {
$this->autoCompleteManager->runSorters(['talk_chat_participants'], $results, [
'itemType' => 'chat',
'itemId' => (string) $this->room->getId(),
+ 'search' => $search,
]);
$results = $this->prepareResultArray($results);