Mercurial > prosody-modules
changeset 6448:ee6ab6650c78
mod_muc_restrict_media/mod_muc_restrict_media.lua: Put the muc config form in the right section
| author | Menel <menel@snikket.de> |
|---|---|
| date | Thu, 12 Mar 2026 08:16:06 +0100 |
| parents | 46fe8e3bf870 |
| children | 054691d29c25 |
| files | mod_muc_restrict_media/mod_muc_restrict_media.lua |
| diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_muc_restrict_media/mod_muc_restrict_media.lua Thu Mar 12 08:15:22 2026 +0100 +++ b/mod_muc_restrict_media/mod_muc_restrict_media.lua Thu Mar 12 08:16:06 2026 +0100 @@ -18,7 +18,7 @@ label = "Display inline media (images, etc.) from non-members", value = not should_restrict_media(room), }); -end); +end, 80-5); module:hook("muc-config-submitted", function(event) local room, fields, changed = event.room, event.fields, event.changed;
