mirror of https://github.com/M66B/FairEmail.git
Handle plain text VCS files
This commit is contained in:
parent
b8ba2a84a4
commit
ce72af61c8
|
@ -194,7 +194,8 @@ public class EntityAttachment {
|
||||||
if ("pdf".equals(extension))
|
if ("pdf".equals(extension))
|
||||||
return "application/pdf";
|
return "application/pdf";
|
||||||
|
|
||||||
if ("text/plain".equals(type) && "ics".equals(extension))
|
if ("text/plain".equals(type) &&
|
||||||
|
("ics".equals(extension) || "vcs".equals(extension)))
|
||||||
return "text/calendar";
|
return "text/calendar";
|
||||||
|
|
||||||
if ("text/plain".equals(type) && "ovpn".equals(extension))
|
if ("text/plain".equals(type) && "ovpn".equals(extension))
|
||||||
|
|
Loading…
Reference in New Issue