Add ability to explore and join space rooms
Signed-off-by: ajbura <ajbura@gmail.com>
This commit is contained in:
@@ -23,14 +23,21 @@ export function selectRoom(roomId, eventId) {
|
||||
});
|
||||
}
|
||||
|
||||
export function openSpaceSettings(spaceId, tabText) {
|
||||
export function openSpaceSettings(roomId, tabText) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.navigation.OPEN_SPACE_SETTINGS,
|
||||
spaceId,
|
||||
roomId,
|
||||
tabText,
|
||||
});
|
||||
}
|
||||
|
||||
export function openSpaceManage(roomId) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.navigation.OPEN_SPACE_MANAGE,
|
||||
roomId,
|
||||
});
|
||||
}
|
||||
|
||||
export function toggleRoomSettings(tabText) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.navigation.TOGGLE_ROOM_SETTINGS,
|
||||
|
||||
Reference in New Issue
Block a user