mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 22:26:06 +02:00
Fix mime type of ics files
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user