Parcourir la source

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é il y a 5 ans
Parent
révision
953a107121
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      modules/xmpp/xmpp.js

+ 1
- 1
modules/xmpp/xmpp.js Voir le fichier

@@ -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
         }

Chargement…
Annuler
Enregistrer