Add categorized spaces in account data
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user