Software /
code /
prosody-modules
Comparison
mod_rest/jsonmap.lib.lua @ 4742:b7df2c61a144
mod_rest: Add support for mapping of XEP-0313 query iqs
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 04 Nov 2021 20:03:36 +0100 |
parent | 4733:755dd83e9214 |
child | 4743:0a501df823fd |
comparison
equal
deleted
inserted
replaced
4741:3f2342eacb26 | 4742:b7df2c61a144 |
---|---|
17 end | 17 end |
18 end | 18 end |
19 schema.properties.message.properties.archive.properties.forward = schema.properties.message.properties.forwarded; | 19 schema.properties.message.properties.archive.properties.forward = schema.properties.message.properties.forwarded; |
20 schema.properties.message.properties.forwarded.properties.delay = schema._common.delay; | 20 schema.properties.message.properties.forwarded.properties.delay = schema._common.delay; |
21 schema.properties.message.properties.forwarded.properties.message.properties = schema.properties.message.properties; | 21 schema.properties.message.properties.forwarded.properties.message.properties = schema.properties.message.properties; |
22 schema.properties.iq.properties.archive.properties.form = schema._common.dataform; | |
23 schema.properties.iq.properties.archive.properties.page = schema._common.rsm; | |
22 schema._common = nil; | 24 schema._common = nil; |
23 end | 25 end |
24 end | 26 end |
25 | 27 |
26 -- Some mappings that are still hard to do in a nice way with util.datamapper | 28 -- Some mappings that are still hard to do in a nice way with util.datamapper |