We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f74636 commit 9e6e7daCopy full SHA for 9e6e7da
src/app/core/services/events-gateway.service.ts
@@ -68,7 +68,10 @@ export class EventsGateway {
68
69
public init(): void {
70
// When we have a logged-in user then connect to the event gateway
71
- this._store.select(selectLoggedInUser).pipe(filter(user => !!user)).subscribe(_ => {
+ this._store.select(selectLoggedInUser).pipe(
72
+ filter(user => !!user),
73
+ filter(user => user.id !== '0')
74
+ ).subscribe(_ => {
75
this.connect();
76
});
77
}
0 commit comments