fedimbed: fix null avatars

This commit is contained in:
Cynthia Foxwell 2023-09-22 21:06:20 -06:00
parent c55db86e53
commit 4458a14acb
1 changed files with 1 additions and 1 deletions

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,
};
}
}