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:
parent
06359174c5
commit
ff5c257c23
1 changed files with 4 additions and 0 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue