Przeglądaj źródła

Updates another call to setMute().

j8
bgrozev 10 lat temu
rodzic
commit
5588bcd167
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/xmpp/xmpp.js Wyświetl plik

414
         // It is not clear what is the right way to handle multiple tracks.
414
         // It is not clear what is the right way to handle multiple tracks.
415
         // So at least make sure that they are all muted or all unmuted and
415
         // So at least make sure that they are all muted or all unmuted and
416
         // that we send presence just once.
416
         // that we send presence just once.
417
-        APP.RTC.localAudio.setMute(!mute);
417
+        APP.RTC.localAudio.setMute(mute);
418
         // isMuted is the opposite of audioEnabled
418
         // isMuted is the opposite of audioEnabled
419
         this.sendAudioInfoPresence(mute, callback);
419
         this.sendAudioInfoPresence(mute, callback);
420
         return true;
420
         return true;

Ładowanie…
Anuluj
Zapisz