fedimbed: fix null avatars

This commit is contained in:
Cynthia Foxwell 2023-09-22 21:06:20 -06:00
parent c55db86e53
commit 4458a14acb

View file

@ -440,7 +440,7 @@ async function processUrl(msg, url, spoiler = false) {
name: authorData.name,
handle: `${authorData.preferredUsername}@${authorUrlObj.hostname}`,
url: authorData.url,
avatar: authorData.icon.url,
avatar: authorData.icon?.url,
};
}
}