mattermost / mattermost

Mattermost is an open source platform for secure collaboration across the entire software development lifecycle..
https://mattermost.com
Other
30.62k stars 7.33k forks source link

iOS app - treat DNG files as attachment instead of images #26965

Open mattermod opened 6 months ago

mattermod commented 6 months ago

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

apshada commented 6 months ago

@marianunez I would like to work on this issue

marianunez commented 6 months ago

Thanks @apshada! All yours 👍

marianunez commented 2 months ago

@apshada just checking in - do you have any questions about this issue?

apshada commented 3 weeks ago

@marianunez working on it