From 7181a75bfb64b4c233c5f641303aeaa9cf3ac78f Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 14 Dec 2022 15:49:38 -0600 Subject: [PATCH] Reset feeds on login --- src/state/models/me.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/state/models/me.ts b/src/state/models/me.ts index f41b07a6..9591acb8 100644 --- a/src/state/models/me.ts +++ b/src/state/models/me.ts @@ -95,6 +95,10 @@ export class MeModel { this.avatar = '' } }) + this.mainFeed = new FeedModel(this.rootStore, 'home', { + algorithm: 'reverse-chronological', + }) + this.notifications = new NotificationsViewModel(this.rootStore, {}) this.memberships = new MembershipsViewModel(this.rootStore, { actor: this.did, })