mirror of https://github.com/M66B/FairEmail.git
Fix mime type of ics files
This commit is contained in:
parent
8300974f0d
commit
037ea4afb1
|
@ -351,8 +351,7 @@ public class EntityAttachment {
|
|||
"application/x-zip-compressed".equals(type))
|
||||
return "application/zip"; //
|
||||
|
||||
if ("text/plain".equals(type) &&
|
||||
("ics".equals(extension) || "vcs".equals(extension)))
|
||||
if ("ics".equals(extension) || "vcs".equals(extension))
|
||||
return "text/calendar";
|
||||
|
||||
if ("text/plain".equals(type) && "ovpn".equals(extension))
|
||||
|
|
Loading…
Reference in New Issue