From 039e5ed7bb2cab1fc8d9ed1db7b30f18576487dc Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 5 Apr 2025 12:35:22 -0600 Subject: [PATCH] fedimbed: use fedi provided avatar --- src/modules/fedimbed.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index 663b7b8..77a3523 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -377,6 +377,7 @@ async function blueskyQuoteEmbed(quote) { }; mainEmbed.title = `${authorData.name} (${authorData.preferredUsername}@${domain})`; mainEmbed.color = color; + mainEmbed.thumbnail.url = authorData?.icon?.url ?? quote.author.avatar; } } @@ -567,6 +568,7 @@ async function bluesky(msg, url, spoiler = false) { }; mainEmbed.title = `${authorData.name} (${authorData.preferredUsername}@${domain})`; mainEmbed.color = color; + mainEmbed.thumbnail.url = authorData?.icon?.url ?? post.author.avatar; } }