diff plugins/mod_carbons.lua @ 12234:1c47162dd965

plugins: Update for namespace bump in XEP-0353 v0.4.0
author Kim Alvefur <zash@zash.se>
date Tue, 11 Jan 2022 17:51:26 +0100
parents 8ccb22c0fa56
children 063ce658c181
line wrap: on
line diff
--- a/plugins/mod_carbons.lua	Tue Feb 01 14:46:42 2022 +0100
+++ b/plugins/mod_carbons.lua	Tue Jan 11 17:51:26 2022 +0100
@@ -57,7 +57,7 @@
 		return true, "bounce";
 	end
 
-	if stanza:get_child(nil, "urn:xmpp:jingle-message:0") then
+	if stanza:get_child(nil, "urn:xmpp:jingle-message:0") or stanza:get_child(nil, "urn:xmpp:jingle-message:1") then
 		-- XXX Experimental XEP
 		return true, "jingle call";
 	end