aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/members_only.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-03-23 13:38:55 +0000
committerMatthew Wild <mwild1@gmail.com>2022-03-23 13:38:55 +0000
commitcbcb57fa24650c6ac001c4c1c9ab39a61b6266eb (patch)
tree559b2a167f9f1957894c2d4234b9dbf8de9a1ada /plugins/muc/members_only.lib.lua
parente950ca77ebd29994699c944ba6758bde441118cf (diff)
downloadprosody-cbcb57fa24650c6ac001c4c1c9ab39a61b6266eb.tar.gz
prosody-cbcb57fa24650c6ac001c4c1c9ab39a61b6266eb.zip
MUC: Allow kicking users with the same affiliation as the kicker (fixes #1724)
This is allowed by XEP-0045, which states: "A moderator SHOULD NOT be allowed to revoke moderation privileges from someone with a higher affiliation than themselves (i.e., an unaffiliated moderator SHOULD NOT be allowed to revoke moderation privileges from an admin or an owner, and an admin SHOULD NOT be allowed to revoke moderation privileges from an owner)."
Diffstat (limited to 'plugins/muc/members_only.lib.lua')
0 files changed, 0 insertions, 0 deletions