diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-19 05:34:00 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-19 05:34:00 +0000 |
commit | 43c5342160551d24cb634ae9936398100f1072da (patch) | |
tree | 2e14e94429eddb9aeddba474983f09be4cf6d866 /core | |
parent | b27c56326695c39a06d9d6fb1b8982c4f23b82f7 (diff) | |
download | prosody-43c5342160551d24cb634ae9936398100f1072da.tar.gz prosody-43c5342160551d24cb634ae9936398100f1072da.zip |
Don't send version 1.0. Who cares about Gmail?
Diffstat (limited to 'core')
-rw-r--r-- | core/s2smanager.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/s2smanager.lua b/core/s2smanager.lua index a61157c0..05c64519 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -160,7 +160,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"); |