From 4f9bc956a394209231d33452c3c1d28bf2268774 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Tue, 19 Nov 2024 20:49:40 -0700 Subject: [PATCH] fedimbed.bluesky: use actual icons for reply and quoted --- src/modules/fedimbed.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index ab3ead8..1f3478d 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -211,7 +211,7 @@ async function blueskyQuoteEmbed(quote) { const mainEmbed = { color: PLATFORM_COLORS.bluesky, url: `https://bsky.app/profile/${quote.author.handle}/post/${quote.uri.substring(quote.uri.lastIndexOf("/") + 1)}`, - author: {name: "\u2198 Quoted Post"}, + author: {name: "Quoted Post", icon_url: "https://cdn.discordapp.com/emojis/1308640087759654922.png"}, title: `${quote.author.displayName} (@${quote.author.handle})`, thumbnail: { url: quote.author.avatar, @@ -359,7 +359,8 @@ async function bluesky(msg, url, spoiler = false) { if (data.thread.parent) { const reply = data.thread.parent.post; mainEmbed.author = { - name: `\u21a9 Replying to: ${reply.author.displayName} (${reply.author.handle})`, + name: `Replying to: ${reply.author.displayName} (${reply.author.handle})`, + icon_url: "https://cdn.discordapp.com/emojis/1308640078825787412.png", url: `https://bsky.app/profile/${reply.author.handle}/post/${reply.uri.substring( reply.uri.lastIndexOf("/") + 1 )}`,