Fix participant list not refreshed when general permissions change

When the room or call permissions are set the permissions of all
participants could be modified. However, without HPB the participant
list was not updated in this case, so the participants may not be aware
of the change until up to 30 seconds, when the participant list was
automatically fetched again.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
This commit is contained in:
Daniel Calviño Sánchez 2022-03-14 01:53:54 +01:00
Родитель 0c89ca0fb1
Коммит 21f9bff9a1
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -68,6 +68,7 @@ class Listener {
$dispatcher->addListener(Room::EVENT_AFTER_SESSION_JOIN_CALL, $listener);
$dispatcher->addListener(Room::EVENT_AFTER_SESSION_UPDATE_CALL_FLAGS, $listener);
$dispatcher->addListener(Room::EVENT_AFTER_SESSION_LEAVE_CALL, $listener);
$dispatcher->addListener(Room::EVENT_AFTER_PERMISSIONS_SET, $listener);
$dispatcher->addListener(GuestManager::EVENT_AFTER_NAME_UPDATE, $listener);
$listener = static function (ParticipantEvent $event): void {