# HG changeset patch # User Kim Alvefur # Date 1588978518 -7200 # Node ID e0a09d3af563066f8281690b99f9bd4bb964c560 # Parent 5f4093e80cfa68c034aa8d2493787f9f82108e31 mod_carbons: Explicitly carbon XEP-0353: Jingle Message Initiation diff -r 5f4093e80cfa -r e0a09d3af563 doc/doap.xml --- a/doc/doap.xml Sat May 09 00:52:07 2020 +0200 +++ b/doc/doap.xml Sat May 09 00:55:18 2020 +0200 @@ -512,7 +512,7 @@ 0.3 0.11.6 - triggers buffer flush in mod_csi_simple since 0.11.6 + triggers buffer flush in mod_csi_simple since 0.11.6; recognised by mod_carbons since 0.12 diff -r 5f4093e80cfa -r e0a09d3af563 plugins/mod_carbons.lua --- a/plugins/mod_carbons.lua Sat May 09 00:52:07 2020 +0200 +++ b/plugins/mod_carbons.lua Sat May 09 00:55:18 2020 +0200 @@ -55,6 +55,11 @@ 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";