Browse Source

Fix session selection in signaling code

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/5194/head
Joas Schilling 5 years ago
parent
commit
723d47f648
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 3
      lib/Signaling/BackendNotifier.php

3
lib/Signaling/BackendNotifier.php

@ -251,8 +251,7 @@ class BackendNotifier {
$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

Loading…
Cancel
Save