Sfoglia il codice sorgente

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

master
Дамян Минков 2 anni fa
parent
commit
51bda6ff6c
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      modules/xmpp/ChatRoom.js

+ 1
- 1
modules/xmpp/ChatRoom.js Vedi File

@@ -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…
Annulla
Salva