Diff

plugins/mod_mam/mod_mam.lua @ 10821:30fc1ed5647a

mod_mam: Archive XEP-0353: Jingle Message Initiation
author Kim Alvefur <zash@zash.se>
date Sat, 09 May 2020 00:57:42 +0200
parent 10800:62794e065e33
child 11260:08b397c21805
line wrap: on
line diff
--- a/plugins/mod_mam/mod_mam.lua	Sat May 09 00:55:18 2020 +0200
+++ b/plugins/mod_mam/mod_mam.lua	Sat May 09 00:57:42 2020 +0200
@@ -315,6 +315,10 @@
 	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
+		-- XXX Experimental XEP stuck in Proposed for almost a year at the time of this comment
+		return true, "jingle call";
+	end
 
 	 -- The IM-NG thing to do here would be to return `not st_to_full`
 	 -- One day ...