mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 07:01:05 +00:00
Workaround wrong mime types for mp3
This commit is contained in:
parent
fbfb79c4d5
commit
9b93497ae4
1 changed files with 3 additions and 0 deletions
|
@ -179,6 +179,9 @@ public class EntityAttachment {
|
|||
if ("docx".equals(extension))
|
||||
return "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
||||
|
||||
if ("mp3".equals(extension))
|
||||
return "audio/mpeg";
|
||||
|
||||
if ("xls".equals(extension))
|
||||
return "application/vnd.ms-excel";
|
||||
|
||||
|
|
Loading…
Reference in a new issue