From b67695c401e87869c9e57e90759430497f8a1abc Mon Sep 17 00:00:00 2001 From: Paul Aurich Date: Sun, 3 Jan 2010 11:26:36 -0800 Subject: s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. --- core/s2smanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 37957acf..30ac736b 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -369,7 +369,7 @@ function streamopened(session, attr) 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"); -- cgit v1.2.3