From 995815c6d323a41f44cc6bd2fa76fa9c248c105a Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 13 Jul 2018 13:22:40 +0100 Subject: MUC: Improve labels of all config form items --- plugins/muc/history.lib.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'plugins/muc/history.lib.lua') diff --git a/plugins/muc/history.lib.lua b/plugins/muc/history.lib.lua index 100ab720..36b1b260 100644 --- a/plugins/muc/history.lib.lua +++ b/plugins/muc/history.lib.lua @@ -48,13 +48,15 @@ module:hook("muc-config-form", function(event) table.insert(event.form, { name = "muc#roomconfig_historylength"; type = "text-single"; - label = "Maximum Number of History Messages Returned by Room"; + label = "Maximum number of history messages returned by room"; + desc = "Specify the maximum number of previous messages that should be sent to users when they join the room"; value = tostring(get_historylength(event.room)); }); table.insert(event.form, { name = 'muc#roomconfig_defaulthistorymessages', type = 'text-single', - label = 'Default Number of History Messages Returned by Room', + label = 'Default number of history messages returned by room', + desc = "Specify the number of previous messages sent to new users when they join the room"; value = tostring(get_defaulthistorymessages(event.room)) }); end, 100-10); -- cgit v1.2.3