Fix repost rendering (#405)

This commit is contained in:
Paul Frazee
2023-04-06 16:28:45 -05:00
committed by GitHub
parent 4f886f712c
commit b7648cfe73
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -94,7 +94,7 @@ function mergePosts(
function isARepostOfSomeoneElse(post: AppBskyFeedDefs.FeedViewPost): boolean {
return (
post.reason?.$type === 'app.bsky.feed.feedViewPost#reasonRepost' &&
post.reason?.$type === 'app.bsky.feed.defs#reasonRepost' &&
post.post.author.did !== (post.reason as ReasonRepost).by.did
)
}