about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-12-14 15:49:38 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-12-14 15:49:38 -0600
commit7181a75bfb64b4c233c5f641303aeaa9cf3ac78f (patch)
tree583e48a42be758b027e6ed8bf9cbf6dd02553dfd /src
parent9f27af619918549d1c1decd048d5832b938ff32a (diff)
downloadvoidsky-7181a75bfb64b4c233c5f641303aeaa9cf3ac78f.tar.zst
Reset feeds on login
Diffstat (limited to 'src')
-rw-r--r--src/state/models/me.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/state/models/me.ts b/src/state/models/me.ts
index f41b07a6a..9591acb80 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,
       })