Software /
code /
prosody
Changeset
10746:2e31d67b9a29
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.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 22 Apr 2020 18:53:50 +0200 |
parents | 10745:79b29f35fac1 |
children | 10747:63a89b876407 |
files | plugins/mod_mam/mod_mam.lua |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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")