diff options
Diffstat (limited to 'lib/Chat/AutoComplete/SearchPlugin.php')
-rw-r--r-- | lib/Chat/AutoComplete/SearchPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Chat/AutoComplete/SearchPlugin.php b/lib/Chat/AutoComplete/SearchPlugin.php index 347593269..aed0b589c 100644 --- a/lib/Chat/AutoComplete/SearchPlugin.php +++ b/lib/Chat/AutoComplete/SearchPlugin.php @@ -93,7 +93,7 @@ class SearchPlugin implements ISearchPlugin { } $userIds = $guestAttendees = []; - if ($this->room->getType() === Room::ONE_TO_ONE_CALL) { + if ($this->room->getType() === Room::TYPE_ONE_TO_ONE) { // Add potential leavers of one-to-one rooms again. $participants = json_decode($this->room->getName(), true); foreach ($participants as $userId) { |