Mercurial > prosody-hg
diff plugins/muc/persistent.lib.lua @ 9035:173c0e16e704
MUC: Add sections in room config form
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Fri, 13 Jul 2018 15:47:08 +0100 |
| parents | 1c709e3d2e5e |
| children | ea9e1f8f3013 |
line wrap: on
line diff
--- a/plugins/muc/persistent.lib.lua Fri Jul 13 13:22:40 2018 +0100 +++ b/plugins/muc/persistent.lib.lua Fri Jul 13 15:47:08 2018 +0100 @@ -26,7 +26,7 @@ desc = "Rooms are automatically deleted when they are empty, unless this option is enabled"; value = get_persistent(event.room); }); -end, 100-3); +end, 100-5); module:hook("muc-config-submitted/muc#roomconfig_persistentroom", function(event) if set_persistent(event.room, event.value) then
