Mercurial > prosody-modules
changeset 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 |
parents | c149edb37349 |
children | 8e58a1b78336 |
files | mod_s2soutinjection/mod_s2soutinjection.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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;