From d10395b42f61052ffc1fa65d159667869e3a8723 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 18 Feb 2021 09:24:04 +0100 Subject: [PATCH] Fix session selection in signaling code Signed-off-by: Joas Schilling --- lib/Signaling/BackendNotifier.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/Signaling/BackendNotifier.php b/lib/Signaling/BackendNotifier.php index 1a155157f62..50f906c87a2 100644 --- a/lib/Signaling/BackendNotifier.php +++ b/lib/Signaling/BackendNotifier.php @@ -251,8 +251,7 @@ public function participantsModified(Room $room, array $sessionIds): void { $this->logger->info('Room participants modified: ' . $room->getToken() . ' ' . print_r($sessionIds, true)); $changed = []; $users = []; - // FIXME needs to select session and left join attendees instead! - $participants = $this->participantService->getParticipantsForRoom($room); + $participants = $this->participantService->getSessionsAndParticipantsForRoom($room); foreach ($participants as $participant) { $attendee = $participant->getAttendee(); if ($attendee->getActorType() !== Attendee::ACTOR_USERS