mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 03:05:31 +00:00
Added exception for midi files
This commit is contained in:
parent
8c7dbff7b3
commit
20040f3325
1 changed files with 3 additions and 0 deletions
|
@ -182,6 +182,9 @@ public class EntityAttachment {
|
|||
if ("docx".equals(extension))
|
||||
return "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
||||
|
||||
if ("mid".equals(extension) || "midi".equals(extension))
|
||||
return "audio/midi";
|
||||
|
||||
if ("xls".equals(extension))
|
||||
return "application/vnd.ms-excel";
|
||||
|
||||
|
|
Loading…
Reference in a new issue