Fix users with no profile record not being shown #7

Open
astra wants to merge 3 commits from kc/profileless-users-not-being-shown into main
Showing only changes of commit 827a59e958 - Show all commits

View file

@ -132,10 +132,9 @@ const getDidsFromPDS = async (): Promise<At.Did[]> => {
const getAccountMetadata = async ( const getAccountMetadata = async (
did: `did:${string}:${string}`, did: `did:${string}:${string}`,
) => { ) => {
// gonna assume self exists in the app.bsky.actor.profile
const account: AccountMetadata = { const account: AccountMetadata = {
did: did, did: did,
handle: "", handle: "", // Guaranteed to be filled out later
displayName: "", displayName: "",
avatarCid: null, avatarCid: null,
}; };