MUC: Assign priorities to config form hooks so they have a consistent order on each start

This commit is contained in:
Kim Alvefur 2016-04-19 20:31:39 +02:00
parent b42b0643f0
commit 27f234ce4e
11 changed files with 11 additions and 11 deletions

View file

@ -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