s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :)

Tue, 19 Jan 2010 04:35:10 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Tue, 19 Jan 2010 04:35:10 +0000
changeset 2469
9e0c0b08f219
parent 2468
68bb1cc1a8b0
child 2470
2c3f05c01d7c

s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :)

core/s2smanager.lua file | annotate | diff | comparison | revisions
--- a/core/s2smanager.lua	Tue Jan 19 03:58:20 2010 +0000
+++ b/core/s2smanager.lua	Tue Jan 19 04:35:10 2010 +0000
@@ -327,7 +327,7 @@
 	local w, log = conn.write, host_session.log;
 	host_session.sends2s = function (t) log("debug", "sending: %s", (t.top_tag and t:top_tag()) or t:match("^[^>]*>?")); w(conn, tostring(t)); end
 	
-	host_session:open_stream();
+	host_session:open_stream(from_host, to_host);
 	
 	log("debug", "Connection attempt in progress...");
 	add_task(connect_timeout, function ()

mercurial