mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 11:01:23 +01:00
Force CSV mime type
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user