diff options
Diffstat (limited to 'lib/Command/Room/Create.php')
-rw-r--r-- | lib/Command/Room/Create.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/Room/Create.php b/lib/Command/Room/Create.php index 8e992aaf3..4b5208e2e 100644 --- a/lib/Command/Room/Create.php +++ b/lib/Command/Room/Create.php @@ -120,7 +120,7 @@ class Create extends Base { return 1; } - $roomType = $public ? Room::PUBLIC_CALL : Room::GROUP_CALL; + $roomType = $public ? Room::TYPE_PUBLIC : Room::TYPE_GROUP; try { $room = $this->roomService->createConversation($roomType, $name); } catch (InvalidArgumentException $e) { |