diff options
Diffstat (limited to 'lib/Service/BreakoutRoomService.php')
-rw-r--r-- | lib/Service/BreakoutRoomService.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Service/BreakoutRoomService.php b/lib/Service/BreakoutRoomService.php index 9872ecdd4..e2180124a 100644 --- a/lib/Service/BreakoutRoomService.php +++ b/lib/Service/BreakoutRoomService.php @@ -432,6 +432,8 @@ class BreakoutRoomService { throw new \InvalidArgumentException('mode'); } + $this->roomService->setBreakoutRoomStatus($parent, BreakoutRoom::STATUS_STOPPED); + $breakoutRooms = $this->manager->getMultipleRoomsByObject(BreakoutRoom::PARENT_OBJECT_TYPE, $parent->getToken()); foreach ($breakoutRooms as $breakoutRoom) { $this->roomService->setLobby($breakoutRoom, Webinary::LOBBY_NON_MODERATORS, null); @@ -441,8 +443,6 @@ class BreakoutRoomService { } } - $this->roomService->setBreakoutRoomStatus($parent, BreakoutRoom::STATUS_STOPPED); - return $breakoutRooms; } |