mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-31 20:25:38 +00:00
Handle plain text VCS files
This commit is contained in:
parent
b8ba2a84a4
commit
ce72af61c8
1 changed files with 2 additions and 1 deletions
|
@ -194,7 +194,8 @@ public class EntityAttachment {
|
|||
if ("pdf".equals(extension))
|
||||
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";
|
||||
|
||||
if ("text/plain".equals(type) && "ovpn".equals(extension))
|
||||
|
|
Loading…
Reference in a new issue