MODERATE_FILES role can clean all files in a room, fixes #209

This commit is contained in:
Håvar Aambø Fosstveit
2020-04-22 01:07:16 +02:00
parent 7340621b6e
commit e28b6cdc5d
25 changed files with 239 additions and 25 deletions
+5
View File
@@ -32,4 +32,9 @@ export const setFileDone = (magnetUri, sharedFiles) =>
({
type : 'SET_FILE_DONE',
payload : { magnetUri, sharedFiles }
});
export const clearFiles = () =>
({
type : 'CLEAR_FILES'
});
+6
View File
@@ -135,6 +135,12 @@ export const setClearChatInProgress = (flag) =>
payload : { flag }
});
export const setClearFileSharingInProgress = (flag) =>
({
type : 'CLEAR_FILE_SHARING_IN_PROGRESS',
payload : { flag }
});
export const setUserRoles = (userRoles) =>
({
type : 'SET_USER_ROLES',