mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21: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
|
@ -59,7 +59,7 @@ module:hook("muc-config-form", function(event)
|
|||
desc = "Specify the number of previous messages sent to new users when they join the room";
|
||||
value = tostring(get_defaulthistorymessages(event.room))
|
||||
});
|
||||
end, 100-10);
|
||||
end, 70-5);
|
||||
|
||||
module:hook("muc-config-submitted/muc#roomconfig_historylength", function(event)
|
||||
if set_historylength(event.room, event.value) then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue