diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-06-01 14:46:13 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 14:46:13 -0500 |
commit | e9c84a192b3a64c49a227617e8b58c25d3e5d0f3 (patch) | |
tree | 5bf2e6dd51e4b306758069a820a0f8c06b0cd727 /src/state/models/me.ts | |
parent | f416798c5fef6a8fb45aa93269f2962463ca3767 (diff) | |
download | voidsky-e9c84a192b3a64c49a227617e8b58c25d3e5d0f3.tar.zst |
Fixes to feed preference and state sync [APP-678] (#829)
* Remove extraneous custom-feed health check * Fixes to custom feed preference sync * Fix lint * Fix to how preferences are synced to enable membership modifications
Diffstat (limited to 'src/state/models/me.ts')
-rw-r--r-- | src/state/models/me.ts | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/state/models/me.ts b/src/state/models/me.ts index 815044857..59d79f056 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -52,7 +52,6 @@ export class MeModel { this.mainFeed.clear() this.notifications.clear() this.follows.clear() - this.savedFeeds.clear() this.did = '' this.handle = '' this.displayName = '' @@ -114,7 +113,6 @@ export class MeModel { /* dont await */ this.notifications.setup().catch(e => { this.rootStore.log.error('Failed to setup notifications model', e) }) - /* dont await */ this.savedFeeds.refresh(true) this.rootStore.emitSessionLoaded() await this.fetchInviteCodes() await this.fetchAppPasswords() @@ -124,7 +122,6 @@ export class MeModel { } async updateIfNeeded() { - /* dont await */ this.savedFeeds.refresh(true) if (Date.now() - this.lastProfileStateUpdate > PROFILE_UPDATE_INTERVAL) { this.rootStore.log.debug('Updating me profile information') this.lastProfileStateUpdate = Date.now() |