Exif Metadata Pruning

For feature requests, please see: https://mattermost.com/suggestions/.

For troubleshooting questions, please post in the following format:

Summary
Mattermost automatically removes metadata from uploaded images

Steps to reproduce
Add metadata to an image with a tool like exifTool
Send the image to a mattermost channel using an API call
Download the image, and view the image’s metadata through exiftool. Metadata set in the first step is removed.

Expected behavior
Images should retain metadata after being processed through my local mattermost server instance.

Observed behavior
I’m using a bot that responds to users with images in mattermost. After adding the Exif metadata to the image that is going to be sent to the user, the image the user receives has almost all tags removed.

https://mattermost.uservoice.com/forums/306457-general/ is a good place to post feature requests.