From 87cbe71eb0e19c33ca76f6c3dd8261e2fd0f9e33 Mon Sep 17 00:00:00 2001 From: Simon Eisenmann Date: Mon, 8 Sep 2014 14:14:56 +0200 Subject: [PATCH] Correctly reset roomid on close to make reconnect work properly again. --- static/js/mediastream/connector.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/mediastream/connector.js b/static/js/mediastream/connector.js index 38a148b7..3209879f 100644 --- a/static/js/mediastream/connector.js +++ b/static/js/mediastream/connector.js @@ -100,6 +100,7 @@ define(['jquery', 'underscore', 'ua-parser'], function($, _, uaparser) { Connector.prototype.close = function() { this.connected = false; + this.roomid = null; if (this.conn) { var conn = this.conn; this.conn = null;