With reference to https://github.com/mattermost/mattermost/issues/25652 currently the iOS app considers DNG files (iOS raw image format) as an image. This causes the file to be uploaded as image but since non Apple devices cannot render DNG files by default, it ends up looking like a broken image.
We need to update the logic in mobile app to consider DNG files as attachments instead of image. A nice to have would be to consider anything other than common image formats ('png', 'jpg', 'jpeg', 'bmp', 'tiff', 'svg', 'xcf') as an attachment instead of an image.
With reference to https://github.com/mattermost/mattermost/issues/25652 currently the iOS app considers DNG files (iOS raw image format) as an image. This causes the file to be uploaded as image but since non Apple devices cannot render DNG files by default, it ends up looking like a broken image.
We need to update the logic in mobile app to consider DNG files as attachments instead of image. A nice to have would be to consider anything other than common image formats (
'png', 'jpg', 'jpeg', 'bmp', 'tiff', 'svg', 'xcf')
as an attachment instead of an image.If you're interested please comment here and come join our "Contributors" community channel on our daily build server, where you can discuss questions with community members and the Mattermost core team. For technical advice or questions, please join our "Developers" community channel.
New contributors please see our Developer's Guide.
JIRA: https://mattermost.atlassian.net/browse/MM-58145