Software /
code /
prosody
Changeset
10341:4e406944ff85 0.11
MUC: Don't advertise registration feature on host JID (fixes #1451)
There is currently no mention in XEP-0045 of how or where to advertise
support for registration.
Advertising on the host JID may be confusable with service-wide
registration, as implemented in ejabberd.
A common and sensible pattern in XMPP is that a feature is advertised on
the JID where the service is available.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 20 Oct 2019 01:20:11 +0200 |
parents | 10298:906ea5e1ec75 |
children | 10343:7651b80aaec3 10348:3852fc91b2fc |
files | plugins/muc/register.lib.lua |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/register.lib.lua Thu Oct 03 16:38:15 2019 +0100 +++ b/plugins/muc/register.lib.lua Sun Oct 20 01:20:11 2019 +0200 @@ -48,8 +48,6 @@ event.room._reserved_nicks = nil; end); -module:add_feature("jabber:iq:register"); - module:hook("muc-disco#info", function (event) event.reply:tag("feature", { var = "jabber:iq:register" }):up(); end);