summaryrefslogtreecommitdiffstats
path: root/lib/Command/Room/Add.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Command/Room/Add.php')
-rw-r--r--lib/Command/Room/Add.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/Room/Add.php b/lib/Command/Room/Add.php
index 556b9fba4..377741b37 100644
--- a/lib/Command/Room/Add.php
+++ b/lib/Command/Room/Add.php
@@ -71,7 +71,7 @@ class Add 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;
}