aboutsummaryrefslogtreecommitdiffstats
path: root/util/datamapper.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-10 00:19:38 +0100
committerKim Alvefur <zash@zash.se>2021-03-10 00:19:38 +0100
commita09823e81cb2728a34feb58226e6eba28de5db48 (patch)
tree5875e391d1aff46838949b8b4a72a86cce1e17ab /util/datamapper.lua
parent832296535f123a53667376b5e9dff1510e1aef9e (diff)
downloadprosody-a09823e81cb2728a34feb58226e6eba28de5db48.tar.gz
prosody-a09823e81cb2728a34feb58226e6eba28de5db48.zip
util.datamapper: Add references with notes
Diffstat (limited to 'util/datamapper.lua')
-rw-r--r--util/datamapper.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/datamapper.lua b/util/datamapper.lua
index f4860d6d..35788499 100644
--- a/util/datamapper.lua
+++ b/util/datamapper.lua
@@ -41,10 +41,13 @@ local function parse_object(schema, s)
if propschema.xml.attribute then
is_attribute = true
elseif propschema.xml.text then
+
is_text = true
elseif propschema.xml.x_name_is_value then
+
name_is_value = true
elseif propschema.xml.x_single_attribute then
+
single_attribute = propschema.xml.x_single_attribute
end
end