diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-14 02:06:17 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-14 02:06:17 +0000 |
commit | 3349550650708464ff95669a41003f8086181167 (patch) | |
tree | b2eb3fa80e4fd955d3e16e7f7f2f058632bcaf13 /core/s2smanager.lua | |
parent | 11ec0f82d756ef0a7d4bcd56151367126b3a20bf (diff) | |
download | prosody-3349550650708464ff95669a41003f8086181167.tar.gz prosody-3349550650708464ff95669a41003f8086181167.zip |
Mmm, s2s fixed :)
Diffstat (limited to 'core/s2smanager.lua')
-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 276873cd..fe43b181 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -135,7 +135,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", { xmlns='jabber:server', ["xmlns:db"]='jabber:server:dialback', ["xmlns:stream"]='http://etherx.jabber.org/streams', id=session.streamid, from=session.to_host })); + 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()); elseif session.direction == "outgoing" then -- If we are just using the connection for verifying dialback keys, we won't try and auth it if not attr.id then error("stream response did not give us a streamid!!!"); end |