aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/hidden.lib.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2018-07-13 15:47:08 +0100
committerMatthew Wild <mwild1@gmail.com>2018-07-13 15:47:08 +0100
commitaf3f281a246020851c57df60ab61b6a9ef2a82b9 (patch)
treea5cc2940ac88d722a500026be4508b7f427146ce /plugins/muc/hidden.lib.lua
parent995815c6d323a41f44cc6bd2fa76fa9c248c105a (diff)
downloadprosody-af3f281a246020851c57df60ab61b6a9ef2a82b9.tar.gz
prosody-af3f281a246020851c57df60ab61b6a9ef2a82b9.zip
MUC: Add sections in room config form
Diffstat (limited to 'plugins/muc/hidden.lib.lua')
-rw-r--r--plugins/muc/hidden.lib.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/muc/hidden.lib.lua b/plugins/muc/hidden.lib.lua
index 943b0b96..acb8c0fc 100644
--- a/plugins/muc/hidden.lib.lua
+++ b/plugins/muc/hidden.lib.lua
@@ -22,11 +22,11 @@ module:hook("muc-config-form", function(event)
table.insert(event.form, {
name = "muc#roomconfig_publicroom";
type = "boolean";
- label = "Include room in public lists";
+ label = "Include room information in public lists";
desc = "Enable this to allow people to find the room";
value = not get_hidden(event.room);
});
-end, 100-5);
+end, 100-9);
module:hook("muc-config-submitted/muc#roomconfig_publicroom", function(event)
if set_hidden(event.room, not event.value) then