Added vCalendar types

This commit is contained in:
M66B 2023-04-14 07:36:15 +02:00
parent 4d3ecded36
commit 5493106948
1 changed files with 4 additions and 0 deletions

View File

@ -234,6 +234,10 @@ public class EntityAttachment {
(type.endsWith("/pdf") || type.endsWith("/x-pdf")))
return "application/pdf";
if ("text/v-calendar".equals(type) ||
"text/x-vcalendar".equals(type))
return "text/calendar";
String extension = Helper.getExtension(name);
if (extension == null)
return type;