Ver código fonte

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

master
Дамян Минков 2 anos atrás
pai
commit
51bda6ff6c
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      modules/xmpp/ChatRoom.js

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

@@ -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') {

Carregando…
Cancelar
Salvar