Render inline images/custom emotes
<img> tags that either have a width and height (needed for QML to render correctly) or the data-mx-emote attribute (if they have no width/height, we assume 32x32) will be rendered inline. QML's support for img tags with remote src URLs seems buggy on Qt 5.15 especially, not working sometimes. We need to download and cache these images (like done for matrix media events), and use the local path in the img's src.
This commit is contained in: