# HG changeset patch # User Paul Aurich # Date 1262546796 28800 # Node ID 83773aed9437fb9bc5f89cb260db4e84cf0f9348 # Parent 6ccd36a95a812a567011245870cd2eeebacce4a3 s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. diff -r 6ccd36a95a81 -r 83773aed9437 core/s2smanager.lua --- a/core/s2smanager.lua Sun Jan 03 18:55:42 2010 +0000 +++ b/core/s2smanager.lua Sun Jan 03 11:26:36 2010 -0800 @@ -369,7 +369,7 @@ end 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, version=(session.version > 0 and "1.0" or nil) }):top_tag()); + ["xmlns:stream"]='http://etherx.jabber.org/streams', id=session.streamid, from=session.to_host, to=session.from_host, version=(session.version > 0 and "1.0" or nil) }):top_tag()); if session.version >= 1.0 then local features = st.stanza("stream:features");