diff --git a/static/js/services/mediastream.js b/static/js/services/mediastream.js index 7845dcde..fca50a74 100644 --- a/static/js/services/mediastream.js +++ b/static/js/services/mediastream.js @@ -280,21 +280,11 @@ define([ // Room selector. $rootScope.$on("$locationChangeSuccess", function(event) { - /*var defaultRoom, room; - room = defaultRoom = $rootScope.roomid || ""; - if ($route.current) { - room = $route.current.params.room; - } else { - room = ""; - } - if (!ready && room !== defaultRoom && !room) { - // First start. - $location.path("/" + defaultRoom).replace(); - return; - }*/ + var room; if ($route.current) { room = $route.current.params.room; + room = $window.decodeURIComponent(room); } else { room = ""; }