mirror of https://github.com/sualko/cloud_bbb
parent
b4b7eeacad
commit
a86554ca46
|
@ -20,9 +20,9 @@ class RoomListener implements IEventListener {
|
||||||
|
|
||||||
public function handle(Event $event): void {
|
public function handle(Event $event): void {
|
||||||
if ($event instanceof RoomCreatedEvent) {
|
if ($event instanceof RoomCreatedEvent) {
|
||||||
$subject = Provider::SHARE_CREATED;
|
$subject = Provider::ROOM_CREATED;
|
||||||
} elseif ($event instanceof RoomDeletedEvent) {
|
} elseif ($event instanceof RoomDeletedEvent) {
|
||||||
$subject = Provider::SHARE_DELETED;
|
$subject = Provider::ROOM_DELETED;
|
||||||
} else {
|
} else {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue