mirror of https://github.com/M66B/FairEmail.git
Added exception for midi files
This commit is contained in:
parent
8c7dbff7b3
commit
20040f3325
|
@ -182,6 +182,9 @@ public class EntityAttachment {
|
||||||
if ("docx".equals(extension))
|
if ("docx".equals(extension))
|
||||||
return "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
return "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
||||||
|
|
||||||
|
if ("mid".equals(extension) || "midi".equals(extension))
|
||||||
|
return "audio/midi";
|
||||||
|
|
||||||
if ("xls".equals(extension))
|
if ("xls".equals(extension))
|
||||||
return "application/vnd.ms-excel";
|
return "application/vnd.ms-excel";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue