feat(visitors): Updates docs for promotion. (#14538)

* feat(visitors): Updates docs for promotion.

* squash: Update config.js comment
This commit is contained in:
Дамян Минков
2024-03-26 07:18:34 -05:00
committed by GitHub
parent 33db2bed34
commit 643fc7e2a2
4 changed files with 21 additions and 1 deletions

View File

@@ -334,7 +334,7 @@ process_host_module(muc_domain_prefix..'.'..muc_domain_base, function(host_modul
-- allow join
return;
end
module:log('error', 'Visitor needs to be allowed by a moderator %s', stanza.attr.from);
origin.send(st.error_reply(stanza, 'cancel', 'not-allowed', 'Visitor needs to be allowed by a moderator'));
return true;
end