Mercurial > prosody-modules
diff mod_rest/res/schema-xmpp.json @ 4732:607cac9b9393
mod_rest: Add recursive properties of XEP-0297 forwarded container
Let's pray nobody invents a way to loop stanza references as well.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 27 Oct 2021 20:45:28 +0200 |
parents | 611bc06c4160 |
children | 755dd83e9214 |
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json Wed Oct 27 20:43:17 2021 +0200 +++ b/mod_rest/res/schema-xmpp.json Wed Oct 27 20:45:28 2021 +0200 @@ -402,6 +402,17 @@ } }, "forwarded" : { + "properties" : { + "delay" : { + "$ref" : "#_common/delay" + }, + "message" : { + "type" : "object", + "xml" : { + "namespace" : "jabber:client" + } + } + }, "title" : "XEP-0297: Stanza Forwarding", "type" : "object", "xml" : {