Handle plain text VCS files

This commit is contained in:
M66B 2021-10-14 09:51:03 +02:00
parent b8ba2a84a4
commit ce72af61c8
1 changed files with 2 additions and 1 deletions

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