Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix repost rendering (#405)

authored by

Paul Frazee and committed by
GitHub
b7648cfe 4f886f71

+2 -2
+1 -1
src/lib/api/build-suggested-posts.ts
··· 94 94 95 95 function isARepostOfSomeoneElse(post: AppBskyFeedDefs.FeedViewPost): boolean { 96 96 return ( 97 - post.reason?.$type === 'app.bsky.feed.feedViewPost#reasonRepost' && 97 + post.reason?.$type === 'app.bsky.feed.defs#reasonRepost' && 98 98 post.post.author.did !== (post.reason as ReasonRepost).by.did 99 99 ) 100 100 }
+1 -1
src/state/models/feeds/posts.ts
··· 85 85 } 86 86 87 87 get reasonRepost(): ReasonRepost | undefined { 88 - if (this.reason?.$type === 'app.bsky.feed.feedViewPost#reasonRepost') { 88 + if (this.reason?.$type === 'app.bsky.feed.defs#reasonRepost') { 89 89 return this.reason as ReasonRepost 90 90 } 91 91 }