1
0
Fork 0
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:
M66B 2021-10-26 08:04:40 +02:00
parent 8c7dbff7b3
commit 20040f3325

View file

@ -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";