We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43bbd50 commit 5311a89Copy full SHA for 5311a89
modules/xmpp/strophe.emuc.ts
@@ -258,7 +258,7 @@ export default class MucConnectionPlugin extends ConnectionPluginListenable {
258
259
// Use *|xmlns to match xmlns attributes across any namespace (CSS Selectors Level 3)
260
const visitors = findFirst(iq, ':scope>visitors[*|xmlns="jitsi:visitors"]');
261
- const response = findFirst(iq, ':scope>promotion-response');
+ const response = findFirst(visitors, ':scope>promotion-response');
262
263
if (visitors && response) {
264
if (String(getAttribute(response, 'allow')).toLowerCase() === 'true') {
0 commit comments