Add option to create room/space
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user