Software /
code /
prosody-modules
Comparison
mod_rest/jsonmap.lib.lua @ 4747:566e54a07f54
mod_rest: Map the XEP-0313 <fin> element to make paging work
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 04 Nov 2021 20:18:02 +0100 |
parent | 4746:88f5e12c8351 |
child | 4803:f74c7c518bb2 |
comparison
equal
deleted
inserted
replaced
4746:88f5e12c8351 | 4747:566e54a07f54 |
---|---|
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; | 22 schema.properties.iq.properties.archive.properties.form = schema._common.dataform; |
23 schema.properties.iq.properties.archive.properties.page = schema._common.rsm; | 23 schema.properties.iq.properties.archive.properties.page = schema._common.rsm; |
24 schema.properties.iq.properties.result.properties.page = schema._common.rsm; | |
24 schema._common = nil; | 25 schema._common = nil; |
25 end | 26 end |
26 end | 27 end |
27 | 28 |
28 -- Some mappings that are still hard to do in a nice way with util.datamapper | 29 -- Some mappings that are still hard to do in a nice way with util.datamapper |