Added vCalendar types

pull/212/head
M66B 2 years ago
parent 4d3ecded36
commit 5493106948

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

Loading…
Cancel
Save