mattermost-mobile-upstream/app/utils/gallery
JG Heithcock a4a750284c
[MM-67919]: Load original file URL for GIF attachments to preserve animation (#9604)
* Fix GIF animations not playing for non-uploading users

GIF file attachments were rendered as static images for everyone except
the original uploader because the app fetched the server-generated JPEG
preview instead of the original animated file. Use buildFileUrl for GIFs
in both the channel thumbnail and gallery views, and pass the autoplay
prop through to ExpoImage in the gallery renderer.

* Fix lint: place JSX props on separate lines in test file

* Reintegrated the comment re no thumbnailUri
2026-03-22 15:18:27 -07:00
..
index.test.ts [MM-67919]: Load original file URL for GIF attachments to preserve animation (#9604) 2026-03-22 15:18:27 -07:00
index.ts feat: support fillewillbedownloaded and sendtoastmessage pluginapi (#9416) 2026-02-16 17:10:25 +01:00
vectors.test.ts add unit tests to utils/gallery (#8117) 2024-08-06 13:17:36 +03:00
vectors.ts Refactor gallery gestures (#8752) 2025-07-22 14:00:57 +08:00