diff options
Diffstat (limited to 'lib/Command/Room/Promote.php')
-rw-r--r-- | lib/Command/Room/Promote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/Room/Promote.php b/lib/Command/Room/Promote.php index 945dff62e..72088457b 100644 --- a/lib/Command/Room/Promote.php +++ b/lib/Command/Room/Promote.php @@ -63,7 +63,7 @@ class Promote 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; } |