Browse Source

Move messages before conversation hits

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/4017/head
Joas Schilling 5 years ago
parent
commit
5313804d64
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 2
      lib/Search/MessageSearch.php

2
lib/Search/MessageSearch.php

@ -83,7 +83,7 @@ class MessageSearch implements IProvider {
public function getOrder(string $route, array $routeParameters): int {
if (strpos($route, Application::APP_ID . '.') === 0) {
// Active app, prefer Talk results
return -1;
return -2;
}
return 15;

Loading…
Cancel
Save