about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjim <310223+jimmylee@users.noreply.github.com>2025-09-02 22:19:15 -0700
committerGitHub <noreply@github.com>2025-09-02 22:19:15 -0700
commit135f37eae629eb5451508fa7844cea82dfb787d9 (patch)
tree25036a5fec4a119f26a6c878f92a388260cd9082
parent125191fc201bd9d8551a81ccb575933eaccf253b (diff)
parentb2ecaf9aa7b3404fa4a1c0841eaa113112dcd467 (diff)
downloadvoidsky-135f37eae629eb5451508fa7844cea82dfb787d9.tar.zst
Merge pull request #8962 from internet-development/caidanw/app-1327-remove-pinned-post-from-replies-tab-on-profile
[APP-1327] Remove pinned post from replies tab on profiles
-rw-r--r--src/lib/api/feed/author.ts10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/lib/api/feed/author.ts b/src/lib/api/feed/author.ts
index 36cce71f0..cc19f0f7a 100644
--- a/src/lib/api/feed/author.ts
+++ b/src/lib/api/feed/author.ts
@@ -1,10 +1,10 @@
 import {
   AppBskyFeedDefs,
-  AppBskyFeedGetAuthorFeed as GetAuthorFeed,
-  BskyAgent,
+  type AppBskyFeedGetAuthorFeed as GetAuthorFeed,
+  type BskyAgent,
 } from '@atproto/api'
 
-import {FeedAPI, FeedAPIResponse} from './types'
+import {type FeedAPI, type FeedAPIResponse} from './types'
 
 export class AuthorFeedAPI implements FeedAPI {
   agent: BskyAgent
@@ -23,9 +23,7 @@ export class AuthorFeedAPI implements FeedAPI {
 
   get params() {
     const params = {...this._params}
-    params.includePins =
-      params.filter === 'posts_with_replies' ||
-      params.filter === 'posts_and_author_threads'
+    params.includePins = params.filter === 'posts_and_author_threads'
     return params
   }