diff options
author | Kim Alvefur <zash@zash.se> | 2020-05-09 00:55:18 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2020-05-09 00:55:18 +0200 |
commit | 9bd6d1a47a26f62a663a0910d7ec82f402e8dbb2 (patch) | |
tree | 2e42ab3a2a2c15269732aa51e397c3360b72de3b /plugins/mod_carbons.lua | |
parent | a3e494189587109b074ce5cabb906613dc188514 (diff) | |
download | prosody-9bd6d1a47a26f62a663a0910d7ec82f402e8dbb2.tar.gz prosody-9bd6d1a47a26f62a663a0910d7ec82f402e8dbb2.zip |
mod_carbons: Explicitly carbon XEP-0353: Jingle Message Initiation
Diffstat (limited to 'plugins/mod_carbons.lua')
-rw-r--r-- | plugins/mod_carbons.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/mod_carbons.lua b/plugins/mod_carbons.lua index ccd16ad5..e0f0a711 100644 --- a/plugins/mod_carbons.lua +++ b/plugins/mod_carbons.lua @@ -55,6 +55,11 @@ local function should_copy(stanza, c2s, user_bare) --> boolean, reason: string return true, "bounce"; 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 + for archived in stanza:childtags("stanza-id", "urn:xmpp:sid:0") do if archived and archived.attr.by == user_bare then return true, "archived"; |