Software /
code /
prosody
Diff
plugins/muc/language.lib.lua @ 11120:b2331f3dfeea
Merge 0.11->trunk
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 30 Sep 2020 09:50:33 +0100 |
parent | 10063:13ccc2f05007 |
line wrap: on
line diff
--- a/plugins/muc/language.lib.lua Thu Oct 01 15:08:58 2020 +0100 +++ b/plugins/muc/language.lib.lua Wed Sep 30 09:50:33 2020 +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