|
@@ -15,6 +15,7 @@ import {
|
15
|
15
|
} from '../../react/features/base/conference';
|
16
|
16
|
import { parseJWTFromURLParams } from '../../react/features/base/jwt';
|
17
|
17
|
import { JitsiRecordingConstants } from '../../react/features/base/lib-jitsi-meet';
|
|
18
|
+import { pinParticipant } from '../../react/features/base/participants';
|
18
|
19
|
import {
|
19
|
20
|
processExternalDeviceRequest
|
20
|
21
|
} from '../../react/features/device-selection/functions';
|
|
@@ -120,6 +121,11 @@ function initCommands() {
|
120
|
121
|
));
|
121
|
122
|
}
|
122
|
123
|
},
|
|
124
|
+ 'pin-participant': id => {
|
|
125
|
+ logger.debug('Pin participant command received');
|
|
126
|
+ sendAnalytics(createApiEvent('participant.pinned'));
|
|
127
|
+ APP.store.dispatch(pinParticipant(id));
|
|
128
|
+ },
|
123
|
129
|
'proxy-connection-event': event => {
|
124
|
130
|
APP.conference.onProxyConnectionEvent(event);
|
125
|
131
|
},
|