Mercurial > prosody-hg
changeset 14095:89743a9dc3a7
Merge 13.0->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 26 Feb 2026 15:10:15 +0000 |
| parents | 0f4de9c974ad (current diff) 9bcd58e8e9f9 (diff) |
| children | 70b08435e47b |
| files | |
| diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/muc/hats.lib.lua Mon Feb 23 22:32:54 2026 +0100 +++ b/plugins/muc/hats.lib.lua Thu Feb 26 15:10:15 2026 +0000 @@ -9,6 +9,9 @@ -- Strip any hats claimed by the client (to prevent spoofing) muc_util.add_filtered_namespace(xmlns_hats); +module:hook("muc-disco#info", function(event) + event.reply:tag("feature", { var = xmlns_hats }):up(); +end); module:hook("muc-build-occupant-presence", function (event) local bare_jid = event.occupant and event.occupant.bare_jid or event.bare_jid;
