1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-01 12:44:42 +00:00

Force CSV mime type

This commit is contained in:
M66B 2020-05-23 08:58:25 +02:00
parent 1fbdba8b0e
commit 300f402a90

View file

@ -188,12 +188,15 @@ public class EntityAttachment {
type = gtype;
}
if ("gpx".equals(extension))
return "application/gpx+xml";
if ("csv".equals(extension))
return "text/csv";
if ("eml".equals(extension))
return "message/rfc822";
if ("gpx".equals(extension))
return "application/gpx+xml";
if ("text/plain".equals(type) && "ics".equals(extension))
return "text/calendar";