mod_rest: Add mapping of XEP-0380: Explicit Message Encryption
Useful since OMEMO etc isn't mapped
--- 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",