diff options
author | Joas Schilling <coding@schilljs.com> | 2022-10-04 09:57:06 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-10-04 13:10:33 +0200 |
commit | bc1d0eff0f7534eceb5360ab477d8c06e97b41e1 (patch) | |
tree | 3caafee0d2f3053596e4ef0e668e7307dadf9ffe /lib/Command | |
parent | cf7c98a73f974df46bd69b720ace1fde2883efeb (diff) |
Move more methods away from the room model
Signed-off-by: Joas Schilling <coding@schilljs.com>
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 58d45dac7..15991b832 100644 --- a/lib/Command/Room/TRoomCommand.php +++ b/lib/Command/Room/TRoomCommand.php @@ -90,7 +90,7 @@ trait TRoomCommand { throw new InvalidArgumentException('Invalid room name.'); } - if (!$room->setName($name)) { + if (!$this->roomService->setName($room, $name)) { throw new InvalidArgumentException('Unable to change room name.'); } } |