From a1052066d4eed6840dd190d125c5b5f3153f6783 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 9 Nov 2024 00:00:35 -0700 Subject: [PATCH] fedimbed: autocomplete moment --- src/modules/fedimbed.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/fedimbed.js b/src/modules/fedimbed.js index e9ff74d..eed7bab 100644 --- a/src/modules/fedimbed.js +++ b/src/modules/fedimbed.js @@ -127,7 +127,7 @@ async function blueskyQuoteEmbed(quote, videos) { color: PLATFORM_COLORS.bluesky, url: `https://bsky.app/profile/${quote.author.handle}/post/${quote.uri.substring(quote.uri.lastIndexOf("/"))}`, author: {name: "\u2198 Quoted Post"}, - title: `${quote.author.display_name} (@${quote.author.handle})`, + title: `${quote.author.displayName} (@${quote.author.handle})`, thumbnail: { url: quote.author.avatar, }, @@ -207,7 +207,7 @@ async function bluesky(msg, url, spoiler = false) { const mainEmbed = { color: PLATFORM_COLORS.bluesky, url, - title: `${post.author.display_name} (@${post.author.handle})`, + title: `${post.author.displayName} (@${post.author.handle})`, description: post.record.text, thumbnail: { url: post.author.avatar,