From eaae6988010b2ea12ed315c69b25ae047830d94c Mon Sep 17 00:00:00 2001 From: Alex Williams Date: Sun, 29 Nov 2015 15:45:16 -0500 Subject: [PATCH] Fixed _getChannel for Session objects. (#57) Explicitly defined _getChannel method for Session ClassObjects. Should allow recording/playback to work appropriately. --- togetherjs/session.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/togetherjs/session.js b/togetherjs/session.js index 62e6006a0..80acf93d1 100644 --- a/togetherjs/session.js +++ b/togetherjs/session.js @@ -419,6 +419,10 @@ define(["require", "util", "channels", "jquery", "storage"], function (require, }); }; + session._getChannel = function () { + return channel; + }; + session.close = function (reason) { TogetherJS.running = false; var msg = {type: "bye"};