Diff

mod_s2soutinjection/mod_s2soutinjection.lua @ 4557:864fefec1c07

mod_s2soutinjection: Set version 1.0 for outgoing streams (thanks moparisthebest)
author Matthew Wild <mwild1@gmail.com>
date Tue, 11 May 2021 15:54:28 +0100
parent 1089:4057f176be7b
child 4931:f4a9e804c457
line wrap: on
line diff
--- a/mod_s2soutinjection/mod_s2soutinjection.lua	Sat May 08 15:51:21 2021 +0100
+++ b/mod_s2soutinjection/mod_s2soutinjection.lua	Tue May 11 15:54:28 2021 +0100
@@ -16,6 +16,7 @@
 	if not inject then return end
 	log("debug", "opening a new outgoing connection for this stanza");
 	local host_session = new_outgoing(from_host, to_host);
+	host_session.version = 1;
 
 	-- Store in buffer
 	host_session.bounce_sendq = bounce_sendq;