Remove old polling stuff from RoomController. Added service comments. Do not start the event stream on startup unless you have credentials.

This commit is contained in:
Kegan Dougal 2014-08-15 14:06:48 +01:00
parent 7ddb7a5cbb
commit 5ac87292c4
4 changed files with 20 additions and 45 deletions

View file

@ -46,7 +46,9 @@ angular.module('MatrixWebClientController', ['matrixService'])
}
};
eventStreamService.resume();
if (matrixService.config()) {
eventStreamService.resume();
}
// Logs the user out
$scope.logout = function() {