1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Handle plain text VCS files

This commit is contained in:
M66B 2021-10-14 09:51:03 +02:00
parent b8ba2a84a4
commit ce72af61c8

View file

@ -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))