diff options
Diffstat (limited to 'src/lib/api/build-suggested-posts.ts')
-rw-r--r-- | src/lib/api/build-suggested-posts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/api/build-suggested-posts.ts b/src/lib/api/build-suggested-posts.ts index b9feefc72..554869d98 100644 --- a/src/lib/api/build-suggested-posts.ts +++ b/src/lib/api/build-suggested-posts.ts @@ -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 ) } |