diff options
author | Kim Alvefur <zash@zash.se> | 2020-11-05 22:31:25 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-11-05 22:31:25 +0100 |
commit | 0c94d96263cffcdbe0cf5ea59ef0b172b32258c2 (patch) | |
tree | 58547de6e7795740633c1b93e67c217eb621fe8f /plugins/muc/language.lib.lua | |
parent | 20cb21003f0374e7078e1a29ffb36a7028c6b9ef (diff) | |
parent | 4afbfc6854ebc374acc34729fdc6e472b44b07f1 (diff) | |
download | prosody-0c94d96263cffcdbe0cf5ea59ef0b172b32258c2.tar.gz prosody-0c94d96263cffcdbe0cf5ea59ef0b172b32258c2.zip |
Merge 0.11->trunk
Diffstat (limited to 'plugins/muc/language.lib.lua')
-rw-r--r-- | plugins/muc/language.lib.lua | 1 |
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 |