Software /
code /
prosody-modules
Diff
mod_rest/res/schema-xmpp.json @ 4533:578375759510
mod_rest: Remodel occupant-id (XEP-0421) as single attribute tag
occupant_id.id = silly
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 23 Mar 2021 23:53:04 +0100 |
parent | 4531:60fe204b980f |
child | 4534:9837c73826d2 |
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json Tue Mar 23 23:41:10 2021 +0100 +++ b/mod_rest/res/schema-xmpp.json Tue Mar 23 23:53:04 2021 +0100 @@ -315,19 +315,12 @@ } }, "occupant_id" : { - "properties" : { - "id" : { - "type" : "string", - "xml" : { - "attribute" : true - } - } - }, "title" : "XEP-0421: Anonymous unique occupant identifiers for MUCs", - "type" : "object", + "type" : "string", "xml" : { "name" : "occupant-id", - "namespace" : "urn:xmpp:occupant-id:0" + "namespace" : "urn:xmpp:occupant-id:0", + "x_single_attribute" : "id" } }, "oob" : {