mirror of https://github.com/M66B/FairEmail.git
Ogg formats
This commit is contained in:
parent
73b9c13230
commit
a08a743d03
|
@ -281,6 +281,19 @@ public class EntityAttachment {
|
|||
if ("odp".equals(extension))
|
||||
return "application/vnd.oasis.opendocument.presentation";
|
||||
|
||||
// Audio
|
||||
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Configuring_servers_for_Ogg_media
|
||||
|
||||
if ("oga".equals(extension))
|
||||
return "audio/ogg";
|
||||
|
||||
if ("ogv".equals(extension))
|
||||
return "video/ogg";
|
||||
|
||||
if ("ogg".equals(extension))
|
||||
return "application/ogg";
|
||||
|
||||
// Images
|
||||
|
||||
if ("avif".equals(extension))
|
||||
|
|
Loading…
Reference in New Issue