소스 검색

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

master
Дамян Минков 2 년 전
부모
커밋
51bda6ff6c
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      modules/xmpp/ChatRoom.js

+ 1
- 1
modules/xmpp/ChatRoom.js 파일 보기

@@ -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…
취소
저장