Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Command/Room/TRoomCommand.php')
-rw-r--r--lib/Command/Room/TRoomCommand.php2
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.');
}