Changeset

346:22c8f7d412a1

Don't send version 1.0. Who cares about Gmail?
author Matthew Wild <mwild1@gmail.com>
date Wed, 19 Nov 2008 05:34:00 +0000
parents 345:6a7acfc1c933
children 347:fba39fda0879
files core/s2smanager.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/core/s2smanager.lua	Wed Nov 19 05:13:07 2008 +0000
+++ b/core/s2smanager.lua	Wed Nov 19 05:34:00 2008 +0000
@@ -160,7 +160,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");