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
/
hidden.lib.lua
diff --git
a/plugins/muc/hidden.lib.lua
b/plugins/muc/hidden.lib.lua
index 43521e14953ddcdbf989c9f81873fc5670e6f8ca..b2fe6216f6e0cdca3988604c4108bccea075fc30 100644
(file)
--- a/
plugins/muc/hidden.lib.lua
+++ b/
plugins/muc/hidden.lib.lua
@@
-25,7
+25,7
@@
module:hook("muc-config-form", function(event)
label = "Make Room Publicly Searchable?";
value = not get_hidden(event.room);
});
-end);
+end
, 100-5
);
module:hook("muc-config-submitted/muc#roomconfig_publicroom", function(event)
if set_hidden(event.room, not event.value) then