Add categorized spaces in account data

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-03-02 21:24:11 +05:30
parent 094a11ec64
commit 424245df18
3 changed files with 61 additions and 0 deletions

View file

@ -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,
});
}