Skip to content

Commit

Permalink
Check recent likes for suggested follows (bluesky-social#1680)
Browse files Browse the repository at this point in the history
check recent likes for suggested follows
  • Loading branch information
dholms authored Sep 27, 2023
1 parent bbb140d commit 1f2fe20
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ async function getSkeleton(
.selectFrom('like')
.where('creator', '=', params.actor)
.select(sql`split_part(subject, '/', 3)`.as('subjectDid'))
.orderBy('sortAt', 'desc')
.limit(1000) // limit to 1000
.as('likes'),
)
Expand Down

0 comments on commit 1f2fe20

Please sign in to comment.