1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Added exception for ovpn files

This commit is contained in:
M66B 2019-11-24 11:07:45 +01:00
parent 01f494429d
commit 14d3b6930c

View file

@ -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));