mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 21:57:45 +03:00
MUC: Assign priorities to config form hooks so they have a consistent order on each start
This commit is contained in:
parent
b42b0643f0
commit
27f234ce4e
11 changed files with 11 additions and 11 deletions
|
@ -25,7 +25,7 @@ module:hook("muc-config-form", function(event)
|
|||
label = "Make Room Persistent?";
|
||||
value = get_persistent(event.room);
|
||||
});
|
||||
end);
|
||||
end, 100-3);
|
||||
|
||||
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