diff options
Diffstat (limited to 'lib/Command/Room/Remove.php')
-rw-r--r-- | lib/Command/Room/Remove.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/Room/Remove.php b/lib/Command/Room/Remove.php index 4424307e0..38a7ca4af 100644 --- a/lib/Command/Room/Remove.php +++ b/lib/Command/Room/Remove.php @@ -63,7 +63,7 @@ class Remove extends Base { return 1; } - if (!in_array($room->getType(), [Room::GROUP_CALL, Room::PUBLIC_CALL], true)) { + if (!in_array($room->getType(), [Room::TYPE_GROUP, Room::TYPE_PUBLIC], true)) { $output->writeln('<error>Room is no group call.</error>'); return 1; } |