Changeset

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
parents 261:c1404c69dec9
children 263:598e9f93de78
files bosh.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;