Software / code / prosody
Diff
plugins/muc/language.lib.lua @ 11200:bf8f2da84007
Merge 0.11->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Thu, 05 Nov 2020 22:31:25 +0100 |
| parent | 10063:13ccc2f05007 |
line wrap: on
line diff
--- a/plugins/muc/language.lib.lua Thu Nov 05 22:27:17 2020 +0100 +++ b/plugins/muc/language.lib.lua Thu Nov 05 22:31:25 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