chore: establish websockets connection only on first party server hosts (#2616)

This commit is contained in:
Karol Sójko
2023-11-02 13:33:42 +01:00
committed by GitHub
parent 4be9b51481
commit f95a4fe981

View File

@@ -197,8 +197,10 @@ export class SessionManager
this.apiService.setSession(session, persist) this.apiService.setSession(session, persist)
if (this.isSignedIntoFirstPartyServer()) {
void this.webSocketsService.startWebSocketConnection() void this.webSocketsService.startWebSocketConnection()
} }
}
public online() { public online() {
return !this.offline() return !this.offline()