From 7f7fb4b522635d810b75839d27429f26d8a401d3 Mon Sep 17 00:00:00 2001 From: Paul Aurich Date: Sat, 3 Oct 2009 23:23:00 -0700 Subject: Specify XMPP version on response stream to incoming s2s connection. --- core/s2smanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/s2smanager.lua b/core/s2smanager.lua index c374b72a..e22a49df 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -352,7 +352,7 @@ function streamopened(session, attr) (session.log or log)("debug", "incoming s2s received "); send(""); send(stanza("stream:stream", { xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback', - ["xmlns:stream"]='http://etherx.jabber.org/streams', id=session.streamid, from=session.to_host }):top_tag()); + ["xmlns:stream"]='http://etherx.jabber.org/streams', id=session.streamid, from=session.to_host, version="1.0" }):top_tag()); if session.to_host and not hosts[session.to_host] then -- Attempting to connect to a host we don't serve session:close({ condition = "host-unknown"; text = "This host does not serve "..session.to_host }); -- cgit v1.2.3