|
|
@@ -141,9 +141,11 @@ JitsiConference.prototype._init = function(options) {
|
|
141
|
141
|
this.eventManager.setupStatisticsListeners();
|
|
142
|
142
|
|
|
143
|
143
|
if (this.options.config.enableTalkWhileMuted) {
|
|
144
|
|
- new TalkMutedDetection(this, () => {
|
|
145
|
|
- this.eventEmitter.emit(JitsiConferenceEvents.TALK_WHILE_MUTED);
|
|
146
|
|
- });
|
|
|
144
|
+ // eslint-disable-next-line no-new
|
|
|
145
|
+ new TalkMutedDetection(
|
|
|
146
|
+ this,
|
|
|
147
|
+ () =>
|
|
|
148
|
+ this.eventEmitter.emit(JitsiConferenceEvents.TALK_WHILE_MUTED));
|
|
147
|
149
|
}
|
|
148
|
150
|
};
|
|
149
|
151
|
|