mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-06 04:45:50 +01:00
Added exception for ovpn files
This commit is contained in:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user