Include reposts in no-replies view of feeds

zio/stable
Paul Frazee 2022-11-23 16:27:49 -06:00
parent 810fcf9910
commit eb106a9758
1 changed files with 6 additions and 1 deletions

View File

@ -209,7 +209,12 @@ export class FeedModel {
get nonReplyFeed() { get nonReplyFeed() {
return this.feed.filter( 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,
) )
} }