aboutsummaryrefslogtreecommitdiffstats
path: root/util-src/compat.c
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2022-09-28 17:47:00 +0100
committerMatthew Wild <mwild1@gmail.com>2022-09-28 17:47:00 +0100
commit4dc941fa5370d86a0338587feb321693bcdabc9b (patch)
treee6f59605e02207c83d0c09fc5857c326c1df723a /util-src/compat.c
parent67db8995113b2772367fcd2cd6d471afd08b410c (diff)
downloadprosody-4dc941fa5370d86a0338587feb321693bcdabc9b.tar.gz
prosody-4dc941fa5370d86a0338587feb321693bcdabc9b.zip
muc: Re-allow non-admins to configure persistence (thanks Meaz)
Non-admins don't have a role on MUC services by default. Not even prosody:user. This meant they had no :create-persistent-room permission, even if muc_room_allow_persistent was true (the default). Now we only check the role permissions if persistent room creation is restricted, otherwise we skip any permission checks, just like previous versions.
Diffstat (limited to 'util-src/compat.c')
0 files changed, 0 insertions, 0 deletions