MODERATE_FILES role can clean all files in a room, fixes #209
This commit is contained in:
@@ -32,4 +32,9 @@ export const setFileDone = (magnetUri, sharedFiles) =>
|
||||
({
|
||||
type : 'SET_FILE_DONE',
|
||||
payload : { magnetUri, sharedFiles }
|
||||
});
|
||||
|
||||
export const clearFiles = () =>
|
||||
({
|
||||
type : 'CLEAR_FILES'
|
||||
});
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user