Use specific image type

dbkr/animated-image-flag
David Baker 1 year ago
parent 5e16aa6f56
commit d0771f616c

@ -12,7 +12,7 @@ animation to start without a delay while it's downloaded.
## Proposal
We add an optional boolean flag, `ia_animated` to the `info` object of image events indicating if
We add an optional boolean flag, `ia_animated` to the `info` object of `m.image` events indicating if
the image is animated or not. This SHOULD match whether the original image contains animation. Note
that this will require clients probe the image file for animation. Simpler clients may, therefore,
choose to not send this value at all, or always set it to false, meaning receiving clients are
@ -61,6 +61,8 @@ clients needing to download the original to probe for animation.
We could require that servers, or clients in the case of encrypted rooms, preserve animation on
thumbnailing. This is quite a burden for clients and would make thumbnails larger.
This could also potentially be extended to `m.sticker` events.
## Security considerations
Potential for clients to lie about the flag and cause unexpected animation is covered in 'Potential

Loading…
Cancel
Save