aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/muc/language.lib.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/muc/language.lib.lua')
-rw-r--r--plugins/muc/language.lib.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/muc/language.lib.lua b/plugins/muc/language.lib.lua
index ee80806b..2ee2ba0f 100644
--- a/plugins/muc/language.lib.lua
+++ b/plugins/muc/language.lib.lua
@@ -32,6 +32,7 @@ local function add_form_option(event)
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