Logout bug hunt (#294)

* Stop storing the log on disk

* Add more info to the session logging

* Only clear session tokens from storage when they've expired

* Retry session resumption a few times if it's a network issue

* Improvements to the 'connecting' screen
This commit is contained in:
Paul Frazee 2023-03-15 15:05:13 -05:00 committed by GitHub
parent 94741cdded
commit 3c05a08482
5 changed files with 100 additions and 48 deletions

View file

@ -78,7 +78,6 @@ export class RootStoreModel {
serialize(): unknown {
return {
appInfo: this.appInfo,
log: this.log.serialize(),
session: this.session.serialize(),
me: this.me.serialize(),
shell: this.shell.serialize(),
@ -93,9 +92,6 @@ export class RootStoreModel {
this.setAppInfo(appInfoParsed.data)
}
}
if (hasProp(v, 'log')) {
this.log.hydrate(v.log)
}
if (hasProp(v, 'me')) {
this.me.hydrate(v.me)
}