diff options
Diffstat (limited to 'lib/Command/Room/Delete.php')
-rw-r--r-- | lib/Command/Room/Delete.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/Room/Delete.php b/lib/Command/Room/Delete.php index 7135277dd..3f5907415 100644 --- a/lib/Command/Room/Delete.php +++ b/lib/Command/Room/Delete.php @@ -57,7 +57,7 @@ class Delete 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; } |