aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-05-09 00:57:42 +0200
committerKim Alvefur <zash@zash.se>2020-05-09 00:57:42 +0200
commit1f8daf736d2ebfee0222b2bbccad5ed41eaf16a8 (patch)
tree6e3a9a5a2a2aabf2f16bcf1c5d5672df166c4759 /plugins
parent4443c44e22a58b5cd2d2f16f9748648d5bd8a7e9 (diff)
downloadprosody-1f8daf736d2ebfee0222b2bbccad5ed41eaf16a8.tar.gz
prosody-1f8daf736d2ebfee0222b2bbccad5ed41eaf16a8.zip
mod_mam: Archive XEP-0353: Jingle Message Initiation
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_mam/mod_mam.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_mam/mod_mam.lua b/plugins/mod_mam/mod_mam.lua
index 8695fe65..4fe714eb 100644
--- a/plugins/mod_mam/mod_mam.lua
+++ b/plugins/mod_mam/mod_mam.lua
@@ -315,6 +315,10 @@ local function should_store(stanza, c2s) --> boolean, reason: string
or stanza:find("{http://jabber.org/protocol/muc#user}x/invite") then
return true, "invite";
end
+ if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then
+ -- XXX Experimental XEP stuck in Proposed for almost a year at the time of this comment
+ return true, "jingle call";
+ end
-- The IM-NG thing to do here would be to return `not st_to_full`
-- One day ...