From 0b5674ccc5e636249f0bf746a81af814dc4c8700 Mon Sep 17 00:00:00 2001 From: Emmanuel ROHEE Date: Mon, 18 Aug 2014 10:44:29 +0200 Subject: Do not start the event stream if the user is not logged in (=if he does not has an access token yet) Add isUserLoggedIn to check this. --- webclient/app-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webclient/app-controller.js') diff --git a/webclient/app-controller.js b/webclient/app-controller.js index ff4cb6e69e..96656e12c3 100644 --- a/webclient/app-controller.js +++ b/webclient/app-controller.js @@ -52,7 +52,7 @@ angular.module('MatrixWebClientController', ['matrixService']) } }; - if (matrixService.config()) { + if (matrixService.isUserLoggedIn()) { eventStreamService.resume(); } -- cgit 1.4.1