1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Added video/jpeg workaround

This commit is contained in:
M66B 2020-06-28 08:41:29 +02:00
parent 06359174c5
commit ff5c257c23

View file

@ -203,6 +203,10 @@ public class EntityAttachment {
if ("text/plain".equals(type) && "ovpn".equals(extension))
return "application/x-openvpn-profile";
// https://www.rfc-editor.org/rfc/rfc3555.txt
if ("video/jpeg".equals(type))
return "image/jpeg";
if ("application/x-pdf".equals(type))
return "application/pdf";