This commit is contained in:
Samuel Newman
2025-05-10 00:06:06 +03:00
committed by GitHub
parent 2e80fa3dac
commit a0bd804262
45 changed files with 2021 additions and 451 deletions
+7
View File
@@ -31,6 +31,7 @@ export interface ProfileShadow {
muted: boolean | undefined
blockingUri: string | undefined
verification: AppBskyActorDefs.VerificationState
status: AppBskyActorDefs.StatusView | undefined
}
const shadows: WeakMap<
@@ -138,6 +139,12 @@ function mergeShadow<TProfileView extends bsky.profile.AnyProfileView>(
},
verification:
'verification' in shadow ? shadow.verification : profile.verification,
status:
'status' in shadow
? shadow.status
: 'status' in profile
? profile.status
: undefined,
})
}