about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-03-06 14:49:42 -0600
committerGitHub <noreply@github.com>2023-03-06 14:49:42 -0600
commit74c30c60b8b5e68176b1447524db7e725f75a372 (patch)
tree7f08dc7e8fbb81b36b92114bdc91c66311fd0018 /src
parentf84a37937609cae7c492e1cc32081376cb452a9a (diff)
downloadvoidsky-74c30c60b8b5e68176b1447524db7e725f75a372.tar.zst
Show replies in the main feed if they have 2 or more upvotes (#269)
Diffstat (limited to 'src')
-rw-r--r--src/state/models/feed-view.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/models/feed-view.ts b/src/state/models/feed-view.ts
index fe0943018..535221e63 100644
--- a/src/state/models/feed-view.ts
+++ b/src/state/models/feed-view.ts
@@ -263,7 +263,8 @@ export class FeedModel {
           !item.reply || // not a reply
           isRepost || // but allow if it's a repost or thread
           item._isThreadParent ||
-          item._isThreadChild
+          item._isThreadChild ||
+          item.post.upvoteCount >= 2
         )
       })
     }