mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 03:54:11 -04:00
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.
This commit is contained in:
parent
d5bebc9eaa
commit
0b5674ccc5
3 changed files with 17 additions and 9 deletions
|
@ -52,7 +52,7 @@ angular.module('MatrixWebClientController', ['matrixService'])
|
|||
}
|
||||
};
|
||||
|
||||
if (matrixService.config()) {
|
||||
if (matrixService.isUserLoggedIn()) {
|
||||
eventStreamService.resume();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue