Software /
code /
prosody
Diff
plugins/muc/history.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 |
parent | 9034:1c709e3d2e5e |
child | 9081:ce57c69a20e2 |
line wrap: on
line diff
--- a/plugins/muc/history.lib.lua Fri Jul 13 13:22:40 2018 +0100 +++ b/plugins/muc/history.lib.lua Fri Jul 13 15:47:08 2018 +0100 @@ -59,7 +59,7 @@ 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