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:
miruka
2020-06-27 08:35:11 -04:00
parent 1a32c26b4d
commit 9dc0688557
2 changed files with 33 additions and 5 deletions

View File

@@ -1,5 +1,8 @@
# TODO
- issue templates
- ctrl-tab highlight
## Refactoring
- General change/upload avatar component for account and room settings