fedimbed: use fedi provided avatar
This commit is contained in:
parent
a911cf7dda
commit
039e5ed7bb
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue