Fix mime type of ics files

pull/212/head
M66B 2 years ago
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…
Cancel
Save