Skip to content

Commit

Permalink
Fix session selection in signaling code
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <coding@schilljs.com>
  • Loading branch information
nickvergessen committed Feb 25, 2021
1 parent db9ca00 commit d10395b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Signaling/BackendNotifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d10395b

Please sign in to comment.