# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1587574430 -7200
# Node ID 2e31d67b9a2990c65d847ce95e96e829b4909f5d
# Parent  79b29f35fac14d7a79664071340a02430af3d4ab
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.

diff -r 79b29f35fac1 -r 2e31d67b9a29 plugins/mod_mam/mod_mam.lua
--- a/plugins/mod_mam/mod_mam.lua	Wed Apr 22 18:50:30 2020 +0200
+++ b/plugins/mod_mam/mod_mam.lua	Wed Apr 22 18:53:50 2020 +0200
@@ -283,6 +283,7 @@
 	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 @@
 	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 @@
 		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")