From c55db86e53500a8014bd43afabc62d46b82059c6 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Fri, 22 Sep 2023 21:03:22 -0600 Subject: [PATCH] fedimbed: limmy has author url as id not url --- src/modules/fedimbed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index 8493e3a..532dca5 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -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}`,