mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 22:27:38 +03:00
MUC: Add sections in room config form
This commit is contained in:
parent
1a0e7d5a10
commit
1f50e15c8e
10 changed files with 12 additions and 10 deletions
|
@ -26,7 +26,7 @@ module:hook("muc-config-form", function(event)
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue