diff mod_rest/res/schema-xmpp.json @ 5080:ce9b836f66d5

mod_rest: Fix JSON conversion of 'displayed' chat marker
author Kim Alvefur <zash@zash.se>
date Mon, 24 Oct 2022 16:21:59 +0200
parents bade04ef0a22
children 048e339706ba
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json	Thu Oct 20 11:28:53 2022 +0100
+++ b/mod_rest/res/schema-xmpp.json	Mon Oct 24 16:21:59 2022 +0200
@@ -733,7 +733,8 @@
                "title" : "XEP-0333: Chat Markers",
                "type" : "string",
                "xml" : {
-                  "namespace" : "urn:xmpp:chat-markers:0"
+                  "namespace" : "urn:xmpp:chat-markers:0",
+                  "x_single_attribute" : "id"
                }
             },
             "encryption" : {