|
@@ -14,7 +14,7 @@ import {
|
14
|
14
|
} from '../../react/features/base/conference';
|
15
|
15
|
import { parseJWTFromURLParams } from '../../react/features/base/jwt';
|
16
|
16
|
import JitsiMeetJS, { JitsiRecordingConstants } from '../../react/features/base/lib-jitsi-meet';
|
17
|
|
-import { pinParticipant, getParticipantById } from '../../react/features/base/participants';
|
|
17
|
+import { pinParticipant, getParticipantById, kickParticipant } from '../../react/features/base/participants';
|
18
|
18
|
import { setPrivateMessageRecipient } from '../../react/features/chat/actions';
|
19
|
19
|
import {
|
20
|
20
|
processExternalDeviceRequest
|
|
@@ -349,6 +349,9 @@ function initCommands() {
|
349
|
349
|
},
|
350
|
350
|
'cancel-private-chat': () => {
|
351
|
351
|
APP.store.dispatch(setPrivateMessageRecipient());
|
|
352
|
+ },
|
|
353
|
+ 'kick-participant': participantId => {
|
|
354
|
+ APP.store.dispatch(kickParticipant(participantId));
|
352
|
355
|
}
|
353
|
356
|
};
|
354
|
357
|
transport.on('event', ({ data, name }) => {
|