summaryrefslogtreecommitdiffstats
path: root/lib/Search/ConversationSearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Search/ConversationSearch.php')
-rw-r--r--lib/Search/ConversationSearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Search/ConversationSearch.php b/lib/Search/ConversationSearch.php
index 4dc97aed9..f4b99954c 100644
--- a/lib/Search/ConversationSearch.php
+++ b/lib/Search/ConversationSearch.php
@@ -100,7 +100,7 @@ class ConversationSearch implements IProvider {
continue;
}
- if ($room->getType() === Room::TYPE_ONE_TO_ONE) {
+ if ($room->getType() === Room::TYPE_ONE_TO_ONE || $room->getType() === Room::TYPE_ONE_TO_ONE_FORMER) {
$otherUserId = str_replace(
json_encode($user->getUID()),
'',