Changeset

354:9b461ae785b1

Remove version=1.0 on s2s stream headers, again.
author Matthew Wild <mwild1@gmail.com>
date Thu, 20 Nov 2008 01:14:31 +0000
parents 353:e7d776b5ebb9
children 355:e25c8d91b37f
files core/s2smanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/s2smanager.lua	Wed Nov 19 23:25:04 2008 +0000
+++ b/core/s2smanager.lua	Thu Nov 20 01:14:31 2008 +0000
@@ -156,7 +156,7 @@
 		session.streamid = uuid_gen();
 		print(session, session.from_host, "incoming s2s stream opened");
 		send("<?xml version='1.0'?>");
-		send(stanza("stream:stream", { version = '1.0', xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback', ["xmlns:stream"]='http://etherx.jabber.org/streams', id=session.streamid, from=session.to_host }):top_tag());
+		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());
 		if session.to_host and not hosts[session.to_host] then
 			-- Attempting to connect to a host we don't serve
 			session:close("host-unknown");