diff options
Diffstat (limited to 'lib/Command')
-rw-r--r-- | lib/Command/Room/TRoomCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Command/Room/TRoomCommand.php b/lib/Command/Room/TRoomCommand.php index 07b31bc5e..280f96b8d 100644 --- a/lib/Command/Room/TRoomCommand.php +++ b/lib/Command/Room/TRoomCommand.php @@ -114,7 +114,7 @@ trait TRoomCommand { */ protected function setRoomDescription(Room $room, string $description): void { try { - $room->setDescription($description); + $this->roomService->setDescription($room, $description); } catch (\LengthException $e) { throw new InvalidArgumentException('Invalid room description.'); } |