mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Ogg formats
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user