--- a/plugins/muc/history.lib.lua Fri Jul 13 04:52:43 2018 +0200
+++ b/plugins/muc/history.lib.lua Fri Jul 13 13:22:40 2018 +0100
@@ -48,13 +48,15 @@
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);