aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/mod_muc.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2024-06-18 15:08:30 +0100
committerMatthew Wild <mwild1@gmail.com>2024-06-18 15:08:30 +0100
commit29148cfe9ce0d6b60127ad158381acb90ca9ab53 (patch)
tree2b51d80ae91c170c0727051cc3279235f548227f /plugins/muc/mod_muc.lua
parentaa6b79c20c82451cd6a804d82c98d0830e792033 (diff)
downloadprosody-29148cfe9ce0d6b60127ad158381acb90ca9ab53.tar.gz
prosody-29148cfe9ce0d6b60127ad158381acb90ca9ab53.zip
MUC: Don't default component admins to being room owners
This change has various technical and social benefits. If ownership of a MUC is really needed, it can be gained using the 'Set affiliation' ad-hoc command or prosodyctl shell. Example client incompatibility with the old behaviour: - https://github.com/monal-im/Monal/issues/1085
Diffstat (limited to 'plugins/muc/mod_muc.lua')
-rw-r--r--plugins/muc/mod_muc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/muc/mod_muc.lua b/plugins/muc/mod_muc.lua
index 7244ecbe..1dc99f07 100644
--- a/plugins/muc/mod_muc.lua
+++ b/plugins/muc/mod_muc.lua
@@ -125,7 +125,7 @@ module:default_permissions("prosody:guest", {
":list-rooms";
});
-if module:get_option_boolean("component_admins_as_room_owners", true) then
+if module:get_option_boolean("component_admins_as_room_owners", false) then
-- Monkey patch to make server admins room owners
local _get_affiliation = room_mt.get_affiliation;
function room_mt:get_affiliation(jid)