chore: establish websockets connection only on first party server hosts (#2616)
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user