Software /
code /
prosody-modules
Diff
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 |
line wrap: on
line diff
--- a/mod_rest/jsonmap.lib.lua Thu Nov 04 20:17:07 2021 +0100 +++ b/mod_rest/jsonmap.lib.lua Thu Nov 04 20:18:02 2021 +0100 @@ -21,6 +21,7 @@ schema.properties.message.properties.forwarded.properties.message.properties = schema.properties.message.properties; schema.properties.iq.properties.archive.properties.form = schema._common.dataform; schema.properties.iq.properties.archive.properties.page = schema._common.rsm; + schema.properties.iq.properties.result.properties.page = schema._common.rsm; schema._common = nil; end end