diff options
Diffstat (limited to 'lib/Chat/Parser/UserMention.php')
-rw-r--r-- | lib/Chat/Parser/UserMention.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Chat/Parser/UserMention.php b/lib/Chat/Parser/UserMention.php index 269c6f20e..743fb2caa 100644 --- a/lib/Chat/Parser/UserMention.php +++ b/lib/Chat/Parser/UserMention.php @@ -174,11 +174,11 @@ class UserMention { */ protected function getRoomType(Room $room): string { switch ($room->getType()) { - case Room::ONE_TO_ONE_CALL: + case Room::TYPE_ONE_TO_ONE: return 'one2one'; - case Room::GROUP_CALL: + case Room::TYPE_GROUP: return 'group'; - case Room::PUBLIC_CALL: + case Room::TYPE_PUBLIC: return 'public'; default: throw new \InvalidArgumentException('Unknown room type'); |