Quellcode durchsuchen

xmpp: fix browser check

The same logic should apply to all Chromium based browsers, not just Chrome.
tags/v0.0.2
Saúl Ibarra Corretgé vor 5 Jahren
Ursprung
Commit
953a107121
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/xmpp/xmpp.js Datei anzeigen

@@ -164,7 +164,7 @@ export default class XMPP extends Listenable {
164 164
         // this.caps.addFeature('urn:ietf:rfc:5576'); // a=ssrc
165 165
 
166 166
         // Enable Lipsync ?
167
-        if (browser.isChrome() && this.options.enableLipSync === true) {
167
+        if (browser.isChromiumBased() && this.options.enableLipSync === true) {
168 168
             logger.info('Lip-sync enabled !');
169 169
             this.caps.addFeature('http://jitsi.org/meet/lipsync');
170 170
         }

Laden…
Abbrechen
Speichern