Diff

core/s2smanager.lua @ 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
parent 353:e7d776b5ebb9
child 360:e918c979ad1a
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");