Diff

plugins/mod_carbons.lua @ 10820:e0a09d3af563

mod_carbons: Explicitly carbon XEP-0353: Jingle Message Initiation
author Kim Alvefur <zash@zash.se>
date Sat, 09 May 2020 00:55:18 +0200 (2020-05-08)
parent 10818:04a0aa6d7e72
child 11260:08b397c21805
line wrap: on
line diff
--- 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";