diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-11-23 16:27:49 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-11-23 16:27:49 -0600 |
commit | eb106a9758ef41515b2dc55bfc5f0f9c1bad6bb8 (patch) | |
tree | 4d2f0e6f13519223169390a9255a23be3ab697ee /src | |
parent | 810fcf99105016f5f55647d326909736c3641702 (diff) | |
download | voidsky-eb106a9758ef41515b2dc55bfc5f0f9c1bad6bb8.tar.zst |
Include reposts in no-replies view of feeds
Diffstat (limited to 'src')
-rw-r--r-- | src/state/models/feed-view.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/state/models/feed-view.ts b/src/state/models/feed-view.ts index 2ac88d2eb..92c394dfa 100644 --- a/src/state/models/feed-view.ts +++ b/src/state/models/feed-view.ts @@ -209,7 +209,12 @@ export class FeedModel { get nonReplyFeed() { return this.feed.filter( - post => !post.record.reply || post._isThreadParent || post._isThreadChild, + post => + !post.record.reply || // not a reply + !!post.repostedBy || // or a repost + !!post.trendedBy || // or a trend + post._isThreadParent || // but allow if it's a thread by the user + post._isThreadChild, ) } |