From e27cd0098ff6543eec05f80ca54a3a5f65a25d47 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Fri, 7 Apr 2023 11:10:03 -0500 Subject: Fix: correctly track when profile state was last updated --- src/state/models/me.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/state/models/me.ts b/src/state/models/me.ts index 1dcccb6f1..a0591aeca 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -115,6 +115,7 @@ export class MeModel { async updateIfNeeded() { if (Date.now() - this.lastProfileStateUpdate > PROFILE_UPDATE_INTERVAL) { this.rootStore.log.debug('Updating me profile information') + this.lastProfileStateUpdate = Date.now() await this.fetchProfile() await this.fetchInviteCodes() } -- cgit 1.4.1