Browse Source

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

master
Дамян Минков 2 years ago
parent
commit
51bda6ff6c
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      modules/xmpp/ChatRoom.js

+ 1
- 1
modules/xmpp/ChatRoom.js View 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…
Cancel
Save