feat: add grant moderator functionality

This commit is contained in:
Gabriel Imre
2020-07-15 13:13:28 +03:00
committed by GitHub
parent 035f720a50
commit b85cd2348f
18 changed files with 356 additions and 8 deletions

View File

@@ -8,6 +8,7 @@ import { Popover } from '../../../base/popover';
import { connect } from '../../../base/redux';
import {
GrantModeratorButton,
MuteButton,
MuteEveryoneElseButton,
KickButton,
@@ -195,6 +196,12 @@ class RemoteVideoMenuTriggerButton extends Component<Props> {
);
}
buttons.push(
<GrantModeratorButton
key = 'grant-moderator'
participantID = { participantID } />
);
if (!_disableKick) {
buttons.push(
<KickButton