Add option to create room/space

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-02-26 21:00:52 +05:30
parent 2eee3736df
commit 79afc7649d
10 changed files with 365 additions and 208 deletions

View file

@ -65,9 +65,11 @@ export function openPublicRooms(searchTerm) {
});
}
export function openCreateRoom() {
export function openCreateRoom(isSpace = false, parentId = null) {
appDispatcher.dispatch({
type: cons.actions.navigation.OPEN_CREATE_ROOM,
isSpace,
parentId,
});
}