Skip to content

Commit

Permalink
Appview: simple fix for no-hosted known followers (bluesky-social#2609)
Browse files Browse the repository at this point in the history
appview: simple fix for no-hosted known followers
  • Loading branch information
devinivy authored Jun 26, 2024
1 parent d56234b commit 4619ef8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/bsky/src/views/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ export class Views {
if (this.viewerBlockExists(did, state)) {
return undefined
}
if (this.actorIsNoHosted(did, state)) {
// @TODO only needed right now to work around getProfile's { includeTakedowns: true }
return undefined
}
return this.profileBasic(did, state)
})
return { count: knownFollowers.count, followers }
Expand Down

0 comments on commit 4619ef8

Please sign in to comment.