mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Added exception for ovpn files
This commit is contained in:
parent
01f494429d
commit
14d3b6930c
1 changed files with 3 additions and 0 deletions
|
@ -160,6 +160,9 @@ public class EntityAttachment {
|
|||
if (extension == null)
|
||||
return type;
|
||||
|
||||
if ("ovpn".equals(extension))
|
||||
return "application/x-openvpn-profile";
|
||||
|
||||
String gtype = MimeTypeMap.getSingleton()
|
||||
.getMimeTypeFromExtension(extension.toLowerCase(Locale.ROOT));
|
||||
|
||||
|
|
Loading…
Reference in a new issue