aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-04-22 18:53:50 +0200
committerKim Alvefur <zash@zash.se>2020-04-22 18:53:50 +0200
commit966c3c56043bb8903acbbd5c8f9ee36bc23d5388 (patch)
treeaf8195d49ed377017d410f2ff250f07417648c07 /plugins
parent92150bd359689a2b3401ae9dcdc8ba51fbaf8e1f (diff)
downloadprosody-966c3c56043bb8903acbbd5c8f9ee36bc23d5388.tar.gz
prosody-966c3c56043bb8903acbbd5c8f9ee36bc23d5388.zip
mod_mam: Make note of Experimental (or Deferred) XEPs
Since these XEPs are subject to change we may need come back and double check these in the future.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_mam/mod_mam.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index b74a92ea..a9d389f5 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -283,6 +283,7 @@ local function should_store(stanza) --> boolean, reason: string
end
if stanza:get_child("no-store", "urn:xmpp:hints")
or stanza:get_child("no-permanent-store", "urn:xmpp:hints") then
+ -- XXX Experimental XEP
return false, "hint";
end
if stanza:get_child("store", "urn:xmpp:hints") then
@@ -297,6 +298,7 @@ local function should_store(stanza) --> boolean, reason: string
end
if stanza:get_child("encryption", "urn:xmpp:eme:0") then
-- Since we can't know what an encrypted message contains, we assume it's important
+ -- XXX Experimental XEP
return true, "encrypted";
end
if stanza:get_child(nil, "urn:xmpp:receipts") then
@@ -305,6 +307,7 @@ local function should_store(stanza) --> boolean, reason: string
return true, "receipt";
end
if stanza:get_child(nil, "urn:xmpp:chat-markers:0") then
+ -- XXX Experimental XEP
return true, "marker";
end
if stanza:get_child("x", "jabber:x:conference")