Comparison

plugins/muc/hats.lib.lua @ 13696:758818e21e01

Merge 13.0->trunk
author Matthew Wild <mwild1@gmail.com>
date Fri, 14 Feb 2025 14:54:49 +0000
parent 13692:18bc411d61fe
comparison
equal deleted inserted replaced
13691:8c0db1524dd9 13696:758818e21e01
1 local st = require "prosody.util.stanza"; 1 local st = require "prosody.util.stanza";
2 local muc_util = module:require "muc/util"; 2 local muc_util = module:require "muc/util";
3 3
4 local hats_compat = module:get_option_boolean("muc_hats_compat", true); -- COMPAT for pre-XEP namespace, TODO reconsider default for next release 4 local hats_compat = module:get_option_boolean("muc_hats_compat", false); -- COMPAT for pre-XEP namespace
5 5
6 local xmlns_hats_legacy = "xmpp:prosody.im/protocol/hats:1"; 6 local xmlns_hats_legacy = "xmpp:prosody.im/protocol/hats:1";
7 local xmlns_hats = "urn:xmpp:hats:0"; 7 local xmlns_hats = "urn:xmpp:hats:0";
8 8
9 -- Strip any hats claimed by the client (to prevent spoofing) 9 -- Strip any hats claimed by the client (to prevent spoofing)