Explorar el Código

fix: Update xmpp element for visitors. (#2243)

master
Дамян Минков hace 2 años
padre
commit
51bda6ff6c
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      modules/xmpp/ChatRoom.js

+ 1
- 1
modules/xmpp/ChatRoom.js Ver fichero

@@ -1577,7 +1577,7 @@ export default class ChatRoom extends Listenable {
1577 1577
      */
1578 1578
     onVisitorIQ(iq) {
1579 1579
         const visitors = $(iq).find('>visitors[xmlns="jitsi:visitors"]');
1580
-        const response = $(iq).find('response-promotion');
1580
+        const response = $(iq).find('promotion-response');
1581 1581
 
1582 1582
         if (visitors.length && response.length
1583 1583
             && String(response.attr('allow')).toLowerCase() === 'true') {

Loading…
Cancelar
Guardar