Diff

bosh.lua @ 262:f47afb171e6e

verse.bosh: Minor change to pass Verse stream to stream callbacks (though it isn't currently used by them)
author Matthew Wild <mwild1@gmail.com>
date Wed, 07 Dec 2011 02:46:00 +0000
parent 261:c1404c69dec9
child 411:db462d4feb44
line wrap: on
line diff
--- a/bosh.lua	Wed Dec 07 02:45:11 2011 +0000
+++ b/bosh.lua	Wed Dec 07 02:46:00 2011 +0000
@@ -187,7 +187,7 @@
 		self:_disconnected();
 		return;
 	end
-	local session = { notopen = true, log = self.log };
+	local session = { notopen = true, stream = self };
 	local stream = new_xmpp_stream(session, stream_callbacks);
 	stream:feed(response);
 	return session.payload;