Added RoomOptions component (#25)

This commit is contained in:
unknown 2021-09-09 17:49:57 +05:30
parent 652f8227b5
commit 80551124f1
11 changed files with 322 additions and 3 deletions

View file

@ -85,6 +85,13 @@ class Navigation extends EventEmitter {
action.eventId,
);
},
[cons.actions.navigation.OPEN_ROOMOPTIONS]: () => {
this.emit(
cons.events.navigation.ROOMOPTIONS_OPENED,
action.cords,
action.roomId,
);
},
};
actions[action.type]?.();
}