Bluesky app fork with some witchin' additions 💫

fix(feed): only include pins for author threads filter

Previously, pins were included for both 'posts_with_replies' and
'posts_and_author_threads' filters. This change restricts pin inclusion
to only the 'posts_and_author_threads' filter, ensuring correct feed
behavior and reducing unnecessary data in other filter modes.

+4 -6
+4 -6
src/lib/api/feed/author.ts
··· 1 1 import { 2 2 AppBskyFeedDefs, 3 - AppBskyFeedGetAuthorFeed as GetAuthorFeed, 4 - BskyAgent, 3 + type AppBskyFeedGetAuthorFeed as GetAuthorFeed, 4 + type BskyAgent, 5 5 } from '@atproto/api' 6 6 7 - import {FeedAPI, FeedAPIResponse} from './types' 7 + import {type FeedAPI, type FeedAPIResponse} from './types' 8 8 9 9 export class AuthorFeedAPI implements FeedAPI { 10 10 agent: BskyAgent ··· 23 23 24 24 get params() { 25 25 const params = {...this._params} 26 - params.includePins = 27 - params.filter === 'posts_with_replies' || 28 - params.filter === 'posts_and_author_threads' 26 + params.includePins = params.filter === 'posts_and_author_threads' 29 27 return params 30 28 } 31 29