verse.bosh: Minor change to pass Verse stream to stream callbacks (though it isn't currently used by them)

Wed, 07 Dec 2011 02:46:00 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 07 Dec 2011 02:46:00 +0000
changeset 262
f47afb171e6e
parent 261
c1404c69dec9
child 263
598e9f93de78

verse.bosh: Minor change to pass Verse stream to stream callbacks (though it isn't currently used by them)

bosh.lua file | annotate | diff | comparison | revisions
--- 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;

mercurial