MODERATE_CHAT role can clear the chat in a room, references issue #209

This commit is contained in:
Håvar Aambø Fosstveit
2020-04-20 23:22:19 +02:00
parent df86c8b493
commit 91a258c273
25 changed files with 417 additions and 161 deletions
+5
View File
@@ -14,4 +14,9 @@ export const addChatHistory = (chatHistory) =>
({
type : 'ADD_CHAT_HISTORY',
payload : { chatHistory }
});
export const clearChat = () =>
({
type : 'CLEAR_CHAT'
});
+7 -1
View File
@@ -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 }
});
});