From 1f50e15c8e2a4d530df6318db7b1959e831230d6 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 13 Jul 2018 15:47:08 +0100 Subject: MUC: Add sections in room config form --- plugins/muc/hidden.lib.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/muc/hidden.lib.lua') 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 -- cgit v1.2.3