Diff

plugins/muc/language.lib.lua @ 10563:e8db377a2983

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Tue, 24 Dec 2019 00:39:45 +0100
parent 10063:13ccc2f05007
line wrap: on
line diff
--- a/plugins/muc/language.lib.lua	Tue Dec 24 00:26:40 2019 +0100
+++ b/plugins/muc/language.lib.lua	Tue Dec 24 00:39:45 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