Changeset

4949: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 4948:2ff1fa824c5d
children 4950:c83bc703825d
files mod_rest/res/schema-xmpp.json
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
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",