diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-07-13 15:47:08 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-07-13 15:47:08 +0100 |
commit | 1f50e15c8e2a4d530df6318db7b1959e831230d6 (patch) | |
tree | a5cc2940ac88d722a500026be4508b7f427146ce /plugins/muc/hidden.lib.lua | |
parent | 1a0e7d5a10f2140d05dd54531c4ba1f35768ab93 (diff) | |
download | prosody-1f50e15c8e2a4d530df6318db7b1959e831230d6.tar.gz prosody-1f50e15c8e2a4d530df6318db7b1959e831230d6.zip |
MUC: Add sections in room config form
Diffstat (limited to 'plugins/muc/hidden.lib.lua')
-rw-r--r-- | plugins/muc/hidden.lib.lua | 4 |
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 |