diff --git a/lib/Service/BreakoutRoomService.php b/lib/Service/BreakoutRoomService.php index 238b6120313..8214d01f326 100644 --- a/lib/Service/BreakoutRoomService.php +++ b/lib/Service/BreakoutRoomService.php @@ -439,7 +439,7 @@ public function stopBreakoutRooms(Room $parent): array { $this->roomService->setBreakoutRoomStatus($parent, BreakoutRoom::STATUS_STOPPED); - $breakoutRooms = $this->manager->getMultipleRoomsByObject(BreakoutRoom::PARENT_OBJECT_TYPE, $parent->getToken()); + $breakoutRooms = $this->manager->getMultipleRoomsByObject(BreakoutRoom::PARENT_OBJECT_TYPE, $parent->getToken(), true); foreach ($breakoutRooms as $breakoutRoom) { $this->roomService->setLobby($breakoutRoom, Webinary::LOBBY_NON_MODERATORS, null); diff --git a/lib/Signaling/Listener.php b/lib/Signaling/Listener.php index 69de6936830..4423a369157 100644 --- a/lib/Signaling/Listener.php +++ b/lib/Signaling/Listener.php @@ -395,7 +395,7 @@ protected function getSessionIdsForNonModeratorsMatchingParticipant(Participant } protected function notifyBreakoutRoomStopped(Room $room): void { - $breakoutRooms = $this->manager->getMultipleRoomsByObject(BreakoutRoom::PARENT_OBJECT_TYPE, $room->getToken()); + $breakoutRooms = $this->manager->getMultipleRoomsByObject(BreakoutRoom::PARENT_OBJECT_TYPE, $room->getToken(), true); foreach ($breakoutRooms as $breakoutRoom) { $sessionIds = [];