chore: fix establishing connection to websockets when session is loaded from disk (#2474)
This commit is contained in:
@@ -169,6 +169,12 @@ export class SessionManager
|
||||
}
|
||||
}
|
||||
|
||||
const serverHost = this.storage.getValue<string>(StorageKey.ServerHost)
|
||||
if (serverHost) {
|
||||
void this.apiService.setHost(serverHost)
|
||||
this.httpService.setHost(serverHost)
|
||||
}
|
||||
|
||||
const rawSession = this.storage.getValue<RawStorageValue>(StorageKey.Session)
|
||||
if (rawSession) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user