Diff

plugins/mod_csi_simple.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
parent 11928:16cf863b36c0
child 12552:b4bc5a715e65
child 13090:3cea237f9d1d
line wrap: on
line diff
--- a/plugins/mod_csi_simple.lua	Tue Feb 01 14:46:42 2022 +0100
+++ b/plugins/mod_csi_simple.lua	Tue Jan 11 17:51:26 2022 +0100
@@ -69,7 +69,7 @@
 		if stanza:get_child("x", "jabber:x:conference") 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
+		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