Sadly it is necessary right now for emotes. Our old system would break federation so we had to switch to using pictrs instead of our custom renderer. Basically all emotes are now just online images that are made to be small.
So there's a way for the emotes to be separated from inline images without just looking at the markdown formatting? That's good.
In that case couldn't the images just be switched from rendered to rendered as a link (e.g. inline image) pretty easily. That would also make having a user setting toggle pretty easy right? Just choose how you want to render them.
Sadly it is necessary right now for emotes. Our old system would break federation so we had to switch to using pictrs instead of our custom renderer. Basically all emotes are now just online images that are made to be small.
Here's the PR from mako
@layla@hexbear.net and @PorkrollPosadist@hexbear.net's original proposal was to have a new database entry for emotes, but Dessalines and Nutomic preferred to use the pictrs solution created by @makotech222@hexbear.net.
Not sure if there will be a way to filter the inline functionality from the emote functionality though. You'll have to ask one of those devs.
We have a nice hook for images that are inline but not emojis, so we just need to decide what we want to do.
So there's a way for the emotes to be separated from inline images without just looking at the markdown formatting? That's good.
In that case couldn't the images just be switched from rendered to rendered as a link (e.g. inline image) pretty easily. That would also make having a user setting toggle pretty easy right? Just choose how you want to render them.
Yeah we'll think of a proper way to handle em. linkifying them is a good idea though, as an option.
Thanks for all your hard work by the way, been reading through all your PRs and discussions on GitHub and you've done fantastic.