From a5762c2d7df89bcb89588e2ab8969ea1e8945514 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Tue, 15 Aug 2023 12:55:51 -0700 Subject: [PATCH] Clear caches on session change (#1179) --- src/state/models/me.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/state/models/me.ts b/src/state/models/me.ts index e46c0e80..186e61cf 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -52,6 +52,8 @@ export class MeModel { this.mainFeed.clear() this.notifications.clear() this.follows.clear() + this.rootStore.profiles.cache.clear() + this.rootStore.posts.cache.clear() this.did = '' this.handle = '' this.displayName = ''