fedimbed: fix null avatars
This commit is contained in:
parent
c55db86e53
commit
4458a14acb
1 changed files with 1 additions and 1 deletions
|
@ -440,7 +440,7 @@ async function processUrl(msg, url, spoiler = false) {
|
||||||
name: authorData.name,
|
name: authorData.name,
|
||||||
handle: `${authorData.preferredUsername}@${authorUrlObj.hostname}`,
|
handle: `${authorData.preferredUsername}@${authorUrlObj.hostname}`,
|
||||||
url: authorData.url,
|
url: authorData.url,
|
||||||
avatar: authorData.icon.url,
|
avatar: authorData.icon?.url,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue