# HG changeset patch # User Kim Alvefur # Date 1660317238 -7200 # Node ID bade04ef0a2270c3abb4936d9004a8ede2183874 # Parent fc6a618bfe4e5b5cb60b8138ef2885354e453771 mod_rest: Add JSON mapping for XEP-0461: Message Replies diff -r fc6a618bfe4e -r bade04ef0a22 mod_rest/res/schema-xmpp.json --- a/mod_rest/res/schema-xmpp.json Thu Aug 11 20:04:13 2022 +0200 +++ b/mod_rest/res/schema-xmpp.json Fri Aug 12 17:13:58 2022 +0200 @@ -942,6 +942,29 @@ "x_single_attribute" : "id" } }, + "reply" : { + "description" : "Reference a message being replied to", + "properties" : { + "id" : { + "type" : "string", + "xml" : { + "attribute" : true + } + }, + "to" : { + "type" : "string", + "xml" : { + "attribute" : true + } + } + }, + "title" : "XEP-0461: Message Replies", + "type" : "object", + "xml" : { + "name" : "reply", + "namespace" : "urn:xmpp:reply:0" + } + }, "rsm" : { "$ref" : "#/_common/rsm" },