mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Added vCalendar types
This commit is contained in:
parent
4d3ecded36
commit
5493106948
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue