plugins/muc/history.lib.lua
changeset 9037 1c709e3d2e5e
parent 8797 0e2c1c4d4f78
child 9038 173c0e16e704
--- 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);