diff mod_rest/res/schema-xmpp.json @ 4950:8f625a7dc957

mod_rest: Add mapping of XEP-0380: Explicit Message Encryption Useful since OMEMO etc isn't mapped
author Kim Alvefur <zash@zash.se>
date Sun, 22 May 2022 17:05:05 +0200
parents d63657a85fb4
children 2735e29cf94b
line wrap: on
line diff
--- a/mod_rest/res/schema-xmpp.json	Sat May 21 22:57:57 2022 +0200
+++ b/mod_rest/res/schema-xmpp.json	Sun May 22 17:05:05 2022 +0200
@@ -735,6 +735,15 @@
                   "namespace" : "urn:xmpp:chat-markers:0"
                }
             },
+            "encryption" : {
+               "title" : "XEP-0380: Explicit Message Encryption",
+               "type" : "string",
+               "xml" : {
+                  "name" : "encryption",
+                  "namespace" : "urn:xmpp:eme:0",
+                  "x_single_attribute" : "namespace"
+               }
+            },
             "fallback" : {
                "title" : "XEP-0428: Fallback Indication",
                "type" : "boolean",