Discord embeds for Mastodon posts are getting a lot better! You should see better images and videos, better formatting, better context styling, and support for embedding a wider variety of posts. This is rolling out now, so you should see it start to take effect in the coming hours. Let me know if you run into any problems!
also yes I had to write an HTML-to-Markdown converter in Rust for this
Update: the new rich Discord embeds are now available for posts on a variety of other ActivityPub services, including Misskey, Pixelfed, and more! Embeds also now indicate when a post is a reply.
If you run an ActivityPub service and your links aren't getting rich embeds on Discord, it's *probably* because you're blocking our requests, but there's a chance you've uncovered a bug! If you think you have (or if you've found a post that gets a rich embed that's malformed in some way), reply here with details and I'll take a look.
with the latest rollout, all known issues with the new discord embeds for mastodon posts are resolved, so if you encounter something that embeds poorly, please tell me about it!
Update: Discord now displays alt text on images in Mastodon embeds!
A Discord issue that caused posts on some Pleroma instances to use legacy embeds has been resolved.
@rcombs hi ^_^ it seems there's a small display bug with how replies from mastodon instances are formatted sometimes. the account to which i am replying is shown as a string of markdown instead of a link.
i think it's because when the display_name field is empty, you are supposed to use the username field instead.
the post is https://deadinsi.de/@miyuko/114313884626966233
@miyuko thanks! the problem is that the username comes back as an empty string (which isn't handled) instead of null (which is). fix implemented; will roll out at some point