|
@@ -9,6 +9,7 @@ import {
|
9
|
9
|
import {
|
10
|
10
|
getCurrentConference,
|
11
|
11
|
sendTones,
|
|
12
|
+ setFollowMe,
|
12
|
13
|
setPassword,
|
13
|
14
|
setSubject
|
14
|
15
|
} from '../../react/features/base/conference';
|
|
@@ -153,6 +154,17 @@ function initCommands() {
|
153
|
154
|
|
154
|
155
|
APP.store.dispatch(sendTones(tones, duration, pause));
|
155
|
156
|
},
|
|
157
|
+ 'set-follow-me': value => {
|
|
158
|
+ logger.debug('Set follow me command received');
|
|
159
|
+
|
|
160
|
+ if (value) {
|
|
161
|
+ sendAnalytics(createApiEvent('follow.me.set'));
|
|
162
|
+ } else {
|
|
163
|
+ sendAnalytics(createApiEvent('follow.me.unset'));
|
|
164
|
+ }
|
|
165
|
+
|
|
166
|
+ APP.store.dispatch(setFollowMe(value));
|
|
167
|
+ },
|
156
|
168
|
'set-large-video-participant': participantId => {
|
157
|
169
|
logger.debug('Set large video participant command received');
|
158
|
170
|
sendAnalytics(createApiEvent('largevideo.participant.set'));
|