# HG changeset patch # User Paul Aurich # Date 1262546796 28800 # Node ID 1067a454a068ded78cbabd428b826ee6a445fd9d # Parent 534e171036efede8a04f4265b92bf18a4a056d34 s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. diff -r 534e171036ef -r 1067a454a068 core/s2smanager.lua --- a/core/s2smanager.lua Sun Jan 03 03:36:40 2010 +0000 +++ b/core/s2smanager.lua Sun Jan 03 11:26:36 2010 -0800 @@ -379,7 +379,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");