Add blurhash support

This commit is contained in:
Henry Hiles 2026-01-10 11:55:41 -05:00
commit 5ba3680111
No known key found for this signature in database
2 changed files with 3 additions and 0 deletions

View file

@ -58,6 +58,7 @@ A simple and user-friendly Matrix client made with Flutter and the Matrix Dart S
- [ ] Jump to original message
- [x] Edits
- [x] Attachments
- [x] Blurhashing
- [ ] Downloading attachments
- [ ] Opening attachments in their own view
- [x] Mentions
@ -87,6 +88,7 @@ A simple and user-friendly Matrix client made with Flutter and the Matrix Dart S
- [ ] Spam filtering
- [ ] Settings
- [ ] Light/Dark mode
- [ ] Show media by default
- [ ] Dynamic Theming
- [ ] Devices
- [ ] Viewing devices

View file

@ -80,6 +80,7 @@ extension EventToMessage on Event {
source: (await getAttachmentUri()).toString(),
replyToMessageId: replyId,
deliveredAt: originServerTs,
blurhash: (event.content["info"] as Map?)?["xyz.amorgan.blurhash"],
),
MessageTypes.Audio => Message.audio(
metadata: metadata,