about summary refs log tree commit diff
path: root/src/state/models/ui/profile.ts
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2023-08-22 12:46:49 -0500
committerGitHub <noreply@github.com>2023-08-22 10:46:49 -0700
commit09a445d8042ed1eaee03348065a324575faf4896 (patch)
tree172f089ffdee532079625afabd3fa00259aab952 /src/state/models/ui/profile.ts
parent88357d5c82aa5afd17a846f34d08b1b30ccff761 (diff)
downloadvoidsky-09a445d8042ed1eaee03348065a324575faf4896.tar.zst
do not thread author media filtered feed (#1253)
Diffstat (limited to 'src/state/models/ui/profile.ts')
-rw-r--r--src/state/models/ui/profile.ts17
1 files changed, 12 insertions, 5 deletions
diff --git a/src/state/models/ui/profile.ts b/src/state/models/ui/profile.ts
index 9dae09ec5..e026a27fc 100644
--- a/src/state/models/ui/profile.ts
+++ b/src/state/models/ui/profile.ts
@@ -176,11 +176,18 @@ export class ProfileUiModel {
       filter = 'posts_with_media'
     }
 
-    this.feed = new PostsFeedModel(this.rootStore, 'author', {
-      actor: this.params.user,
-      limit: 10,
-      filter,
-    })
+    this.feed = new PostsFeedModel(
+      this.rootStore,
+      'author',
+      {
+        actor: this.params.user,
+        limit: 10,
+        filter,
+      },
+      {
+        isSimpleFeed: ['posts_with_media'].includes(filter),
+      },
+    )
 
     if (this.currentView instanceof PostsFeedModel) {
       this.feed.setup()