diff options
Diffstat (limited to 'lib/Search/MessageSearch.php')
-rw-r--r-- | lib/Search/MessageSearch.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Search/MessageSearch.php b/lib/Search/MessageSearch.php index 384b83874..04fc4b8d2 100644 --- a/lib/Search/MessageSearch.php +++ b/lib/Search/MessageSearch.php @@ -117,7 +117,7 @@ class MessageSearch implements IProvider { $roomMap = []; foreach ($rooms as $room) { - if ($room->getType() === Room::CHANGELOG_CONVERSATION) { + if ($room->getType() === Room::TYPE_CHANGELOG) { continue; } @@ -202,7 +202,7 @@ class MessageSearch implements IProvider { } $subline = $this->getSublineTemplate(); - if ($room->getType() === Room::ONE_TO_ONE_CALL) { + if ($room->getType() === Room::TYPE_ONE_TO_ONE) { $subline = '{user}'; } |