Add ability to explore and join space rooms

Signed-off-by: ajbura <ajbura@gmail.com>
This commit is contained in:
ajbura 2022-02-16 20:25:36 +05:30
parent a55f1df17f
commit 1f6e5e71ef
8 changed files with 538 additions and 7 deletions

View file

@ -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,