Diff

plugins/muc/language.lib.lua @ 10411:db2a06b9ff98

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Sat, 16 Nov 2019 16:52:31 +0100
parent 10063:13ccc2f05007
line wrap: on
line diff
--- a/plugins/muc/language.lib.lua	Sat Nov 16 16:45:33 2019 +0100
+++ b/plugins/muc/language.lib.lua	Sat Nov 16 16:52:31 2019 +0100
@@ -32,6 +32,7 @@
 		label = "Language tag for room (e.g. 'en', 'de', 'fr' etc.)";
 		type = "text-single";
 		desc = "Indicate the primary language spoken in this room";
+		datatype = "xs:language";
 		value = get_language(event.room) or "";
 	});
 end