Browse Source

fix(breakout-rooms): Make sure event is actually dispatched

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/10846/head
Joas Schilling 2 years ago
parent
commit
06034ea211
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 1
      lib/Service/RoomService.php

1
lib/Service/RoomService.php

@ -860,6 +860,7 @@ class RoomService {
$this->dispatcher->dispatch(Room::EVENT_AFTER_SET_BREAKOUT_ROOM_STATUS, $event);
$oldStatus = $room->getBreakoutRoomStatus();
$event = new RoomModifiedEvent($room, ARoomModifiedEvent::PROPERTY_BREAKOUT_ROOM_STATUS, $status, $oldStatus);
$this->dispatcher->dispatchTyped($event);
return true;
}

Loading…
Cancel
Save