# HG changeset patch # User Matthew Wild # Date 1226628377 0 # Node ID a698993bd49be97d32baa45876e0dc82320b8d57 # Parent 5b6dec537914e56a545ebfeabae828f04e562bbe Mmm, s2s fixed :) diff -r 5b6dec537914 -r a698993bd49b core/s2smanager.lua --- a/core/s2smanager.lua Thu Nov 13 16:58:29 2008 +0000 +++ b/core/s2smanager.lua Fri Nov 14 02:06:17 2008 +0000 @@ -135,7 +135,7 @@ session.streamid = uuid_gen(); print(session, session.from_host, "incoming s2s stream opened"); send(""); - 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