Use new filter for Posts tab on profile (#2150)

* Use new filter for Posts tab on profile

* Update deps

* Remove log
This commit is contained in:
Eric Bailey
2023-12-08 18:29:53 -06:00
committed by GitHub
parent e1b1720cad
commit 9c0c18d5d0
6 changed files with 35 additions and 117 deletions
+1 -1
View File
@@ -40,7 +40,7 @@ export class AuthorFeedAPI implements FeedAPI {
}
_filter(feed: AppBskyFeedDefs.FeedViewPost[]) {
if (this.params.filter === 'posts_no_replies') {
if (this.params.filter === 'posts_and_author_threads') {
return feed.filter(post => {
const isReply = post.reply
const isRepost = AppBskyFeedDefs.isReasonRepost(post.reason)