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:
parent
1fbdba8b0e
commit
300f402a90
1 changed files with 5 additions and 2 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue