projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MUC: Assign priorities to config form hooks so they have a consistent order on each...
[prosody.git]
/
plugins
/
muc
/
persistent.lib.lua
diff --git
a/plugins/muc/persistent.lib.lua
b/plugins/muc/persistent.lib.lua
index 773509b5d53e536834dc17836fea09afc36bc28f..abceafe1cb784018ef3cc70746aa72adf9d0e916 100644
(file)
--- a/
plugins/muc/persistent.lib.lua
+++ b/
plugins/muc/persistent.lib.lua
@@
-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