MODERATE_CHAT role can clear the chat in a room, references issue #209
This commit is contained in:
@@ -14,4 +14,9 @@ export const addChatHistory = (chatHistory) =>
|
||||
({
|
||||
type : 'ADD_CHAT_HISTORY',
|
||||
payload : { chatHistory }
|
||||
});
|
||||
|
||||
export const clearChat = () =>
|
||||
({
|
||||
type : 'CLEAR_CHAT'
|
||||
});
|
||||
@@ -129,6 +129,12 @@ export const setCloseMeetingInProgress = (flag) =>
|
||||
payload : { flag }
|
||||
});
|
||||
|
||||
export const setClearChatInProgress = (flag) =>
|
||||
({
|
||||
type : 'CLEAR_CHAT_IN_PROGRESS',
|
||||
payload : { flag }
|
||||
});
|
||||
|
||||
export const setUserRoles = (userRoles) =>
|
||||
({
|
||||
type : 'SET_USER_ROLES',
|
||||
@@ -139,4 +145,4 @@ export const setPermissionsFromRoles = (permissionsFromRoles) =>
|
||||
({
|
||||
type : 'SET_PERMISSIONS_FROM_ROLES',
|
||||
payload : { permissionsFromRoles }
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user