mirror of
https://github.com/cinnyapp/cinny.git
synced 2025-11-10 01:00:28 +03:00
Add categorized spaces in account data
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
094a11ec64
commit
424245df18
3 changed files with 61 additions and 0 deletions
|
|
@ -14,3 +14,17 @@ export function deleteSpaceShortcut(roomId) {
|
|||
roomId,
|
||||
});
|
||||
}
|
||||
|
||||
export function categorizeSpace(roomId) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.accountData.CATEGORIZE_SPACE,
|
||||
roomId,
|
||||
});
|
||||
}
|
||||
|
||||
export function unCategorizeSpace(roomId) {
|
||||
appDispatcher.dispatch({
|
||||
type: cons.actions.accountData.UNCATEGORIZE_SPACE,
|
||||
roomId,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue