summary refs log tree commit diff
path: root/webclient/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'webclient/app.js')
-rw-r--r--webclient/app.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/webclient/app.js b/webclient/app.js
index b52479babe..02695c3ae6 100644
--- a/webclient/app.js
+++ b/webclient/app.js
@@ -81,13 +81,11 @@ matrixWebClient.config(['$routeProvider', '$provide', '$httpProvider',
         $httpProvider.interceptors.push('AccessTokenInterceptor');
     }]);
 
-matrixWebClient.run(['$location', 'matrixService', 'eventStreamService', function($location, matrixService, eventStreamService) {
+matrixWebClient.run(['$location', 'matrixService', function($location, matrixService) {
+
     // If user auth details are not in cache, go to the login page
     if (!matrixService.isUserLoggedIn()) {
-        eventStreamService.stop();
         $location.path("login");
     }
-    else {
-        // eventStreamService.resume();
-    }
+
 }]);