Handle plain text VCS files

pull/206/head
M66B 3 years ago
parent b8ba2a84a4
commit ce72af61c8

@ -194,7 +194,8 @@ public class EntityAttachment {
if ("pdf".equals(extension))
return "application/pdf";
if ("text/plain".equals(type) && "ics".equals(extension))
if ("text/plain".equals(type) &&
("ics".equals(extension) || "vcs".equals(extension)))
return "text/calendar";
if ("text/plain".equals(type) && "ovpn".equals(extension))

Loading…
Cancel
Save