Add support for moderating rooms. Kick user, mute all users, stop all videos.

This commit is contained in:
Håvar Aambø Fosstveit
2020-03-22 00:43:47 +01:00
parent c70740f5c7
commit 7f2f27b858
15 changed files with 515 additions and 57 deletions
+12
View File
@@ -10,6 +10,18 @@ export const loggedIn = (flag) =>
payload : { flag }
});
export const addRole = ({ role }) =>
({
type : 'ADD_ROLE',
payload : { role }
});
export const removeRole = (role) =>
({
type : 'REMOVE_ROLE',
payload : { role }
});
export const setPicture = (picture) =>
({
type : 'SET_PICTURE',