diff --git a/app/src/main/java/eu/faircode/email/EntityAttachment.java b/app/src/main/java/eu/faircode/email/EntityAttachment.java index 5904f906f2..7f69b31dbe 100644 --- a/app/src/main/java/eu/faircode/email/EntityAttachment.java +++ b/app/src/main/java/eu/faircode/email/EntityAttachment.java @@ -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))