diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-04-07 11:10:03 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-04-07 11:10:03 -0500 |
commit | e27cd0098ff6543eec05f80ca54a3a5f65a25d47 (patch) | |
tree | 035a5e28b87a02e0d3dde271303edbaec2d435bd /src | |
parent | ab11f206d8a14443d68408f237fd99dd33752185 (diff) | |
download | voidsky-e27cd0098ff6543eec05f80ca54a3a5f65a25d47.tar.zst |
Fix: correctly track when profile state was last updated
Diffstat (limited to 'src')
-rw-r--r-- | src/state/models/me.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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() } |