# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1739538525 0
# Node ID 18bc411d61fe2c55a019fb4389614288ac1c93f1
# Parent  d112eac6a3dc26e8701f30bdd11d515d87c779be
MUC: Use new XEP namespace for hats by default

Revert with muc_hats_compat = true in the config if necessary.

diff -r d112eac6a3dc -r 18bc411d61fe plugins/muc/hats.lib.lua
--- a/plugins/muc/hats.lib.lua	Thu Feb 13 18:01:15 2025 +0000
+++ b/plugins/muc/hats.lib.lua	Fri Feb 14 13:08:45 2025 +0000
@@ -1,7 +1,7 @@
 local st = require "prosody.util.stanza";
 local muc_util = module:require "muc/util";
 
-local hats_compat = module:get_option_boolean("muc_hats_compat", true); -- COMPAT for pre-XEP namespace, TODO reconsider default for next release
+local hats_compat = module:get_option_boolean("muc_hats_compat", false); -- COMPAT for pre-XEP namespace
 
 local xmlns_hats_legacy = "xmpp:prosody.im/protocol/hats:1";
 local xmlns_hats = "urn:xmpp:hats:0";