Pārlūkot izejas kodu

fix(moderator): use 'enableLipSync' from the connection options

Because the flag is required in the connection options anyway it will
be better to use it from one options set only to avoid redundancy.
master
paweldomas 9 gadus atpakaļ
vecāks
revīzija
6eeefd2ca8
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      modules/xmpp/moderator.js

+ 2
- 2
modules/xmpp/moderator.js Parādīt failu

@@ -174,11 +174,11 @@ Moderator.prototype.createConferenceIq =  function () {
174 174
                 value: true
175 175
             }).up();
176 176
     //}
177
-    if (this.options.conference.enableLipSync !== undefined) {
177
+    if (this.options.connection.enableLipSync !== undefined) {
178 178
         elem.c(
179 179
             'property', {
180 180
                 name: 'enableLipSync',
181
-                value: this.options.conference.enableLipSync
181
+                value: this.options.connection.enableLipSync
182 182
             }).up();
183 183
     }
184 184
     if (this.options.conference.audioPacketDelay !== undefined) {

Notiek ielāde…
Atcelt
Saglabāt