mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-05 23:10:28 +03:00
Add ability to explore and join space rooms
Signed-off-by: ajbura <ajbura@gmail.com>
This commit is contained in:
parent
a55f1df17f
commit
1f6e5e71ef
8 changed files with 538 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue