From e28bbbee5a0f5f1fd9a0d57b1edff79a092fae65 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 29 Jul 2026 17:45:27 -0400 Subject: [PATCH] Defer Bluesky profile fallback --- src/lib/actor.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/actor.ts b/src/lib/actor.ts index 94cde01..9391b59 100644 --- a/src/lib/actor.ts +++ b/src/lib/actor.ts @@ -41,7 +41,9 @@ export function resolveActor(did: Did): Promise { const request = Promise.all([resolveMiniDoc(did), getProfile(did)]) .then(async ([miniDoc, profile]) => { - const bskyProfile = await getBskyProfile(miniDoc).catch(() => null) + const bskyProfile = profile.value.avatar + ? null + : await getBskyProfile(miniDoc).catch(() => null) const avatar = profile.value.avatar ?? bskyProfile?.avatar const avatarUrl = avatar ? getAvatarUrl(did, avatar) : null -- 2.51.2