Include reposts in no-replies view of feeds

This commit is contained in:
Paul Frazee
2022-11-23 16:27:49 -06:00
parent 2e9a858e3d
commit d0f6da2a51
+6 -1
View File
@@ -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,
)
}