about summary refs log tree commit diff
path: root/src/state/models/root-store.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-15 15:05:13 -0500
committerGitHub <noreply@github.com>2023-03-15 15:05:13 -0500
commit3c05a08482cbcff452ece8c11ff3a2a740c79503 (patch)
treeda6458cb8238b1537372c66ffb63d46d9f2ecae6 /src/state/models/root-store.ts
parent94741cddedaa9c923f37b7cc11d5a2cbab81ca44 (diff)
downloadvoidsky-3c05a08482cbcff452ece8c11ff3a2a740c79503.tar.zst
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
Diffstat (limited to 'src/state/models/root-store.ts')
-rw-r--r--src/state/models/root-store.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/state/models/root-store.ts b/src/state/models/root-store.ts
index 2af99e47c..58cad77b9 100644
--- a/src/state/models/root-store.ts
+++ b/src/state/models/root-store.ts
@@ -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)
       }