Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

don't thread a self-repost of a self-reply (#1450)

* don't thread a self-repost of a self-reply

* typo

authored by

Eric Bailey and committed by
GitHub
8593f41f 188d4893

+4 -1
+4 -1
src/lib/api/feed-manip.ts
··· 281 281 282 282 function getSelfReplyUri(item: FeedViewPost): string | undefined { 283 283 if (item.reply) { 284 - if (AppBskyFeedDefs.isPostView(item.reply.parent)) { 284 + if ( 285 + AppBskyFeedDefs.isPostView(item.reply.parent) && 286 + !AppBskyFeedDefs.isReasonRepost(item.reason) // don't thread reposted self-replies 287 + ) { 285 288 return item.reply.parent.author.did === item.post.author.did 286 289 ? item.reply.parent.uri 287 290 : undefined