fedimbed: limmy has author url as id not url

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

View File

@ -435,7 +435,7 @@ async function processUrl(msg, url, spoiler = false) {
});
if (authorData) {
const authorUrlObj = new URL(authorData.url);
const authorUrlObj = new URL(authorData.url ?? authorData.id);
author = {
name: authorData.name,
handle: `${authorData.preferredUsername}@${authorUrlObj.hostname}`,