aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-20 01:14:31 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-20 01:14:31 +0000
commit57484427669ad05811f8f4110deb6dabb69af930 (patch)
treed665dd1621af538769c85d362fed9fde883e4764
parent2cad7943e5380e36049f3f822e148b9c4da5d0aa (diff)
downloadprosody-57484427669ad05811f8f4110deb6dabb69af930.tar.gz
prosody-57484427669ad05811f8f4110deb6dabb69af930.zip
Remove version=1.0 on s2s stream headers, again.
-rw-r--r--core/s2smanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua
index ec07ef5a..cb650cfc 100644
--- a/core/s2smanager.lua
+++ b/core/s2smanager.lua
@@ -156,7 +156,7 @@ function streamopened(session, attr)
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");