signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.6k stars 2.95k forks source link

Fix handling of PNG attachments for editor (addresses #5761) #5762

Closed frederickding closed 1 month ago

frederickding commented 4 months ago

First time contributor checklist

Contributor checklist

Description

These changes are meant to address #5761 by ensuring that isAnimatedImage for any PNG attachment is always determined by internal metadata, not whether it's in a list of MIME types, since PNGs can be either animated or not; and also to define the authoritative list of animated UTI types from those that are "definitely" animated after the a97772265d4ea83e92de0f5067c14ff1142caaaf refactor, not those that are "maybe" animated.

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 month ago

This issue has been closed due to inactivity.