diff options
author | dan <dan.abramov@gmail.com> | 2025-01-22 20:01:37 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-22 20:01:37 +0000 |
commit | 638008c781d4ccb038de57344e18a5237a0f371d (patch) | |
tree | 0b80ffa50fe0109d37309b2e23fc4dc637cb545e /src/lib/api | |
parent | 9e1cd11e227450c489c71d60efd11b5d855862c4 (diff) | |
download | voidsky-638008c781d4ccb038de57344e18a5237a0f371d.tar.zst |
Only show pins on Posts and Replies (#7544)
Diffstat (limited to 'src/lib/api')
-rw-r--r-- | src/lib/api/feed/author.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/api/feed/author.ts b/src/lib/api/feed/author.ts index 50e6a447e..36cce71f0 100644 --- a/src/lib/api/feed/author.ts +++ b/src/lib/api/feed/author.ts @@ -23,7 +23,9 @@ export class AuthorFeedAPI implements FeedAPI { get params() { const params = {...this._params} - params.includePins = params.filter !== 'posts_with_media' + params.includePins = + params.filter === 'posts_with_replies' || + params.filter === 'posts_and_author_threads' return params } |