aboutsummaryrefslogtreecommitdiffstats
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
commitde0caa52012ef89b63a090c6a06e5288efd3ff84 (patch)
treeaf8195d49ed377017d410f2ff250f07417648c07
parent4dbf52830e170867320e83f742d69803651871cb (diff)
downloadprosody-de0caa52012ef89b63a090c6a06e5288efd3ff84.tar.gz
prosody-de0caa52012ef89b63a090c6a06e5288efd3ff84.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.
-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")