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
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
1 changed files with
1 additions and
0 deletions
-
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; |
|
|
|
} |
|
|
|