mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 18:11:03 +01:00
Workaround incorrect Powerpoint mime type
This commit is contained in:
@@ -203,6 +203,9 @@ public class EntityAttachment {
|
||||
if ("application/x-pdf".equals(type))
|
||||
return "application/pdf";
|
||||
|
||||
if ("application/vnd.ms-pps".equals(type))
|
||||
return "application/vnd.ms-powerpoint";
|
||||
|
||||
if (TextUtils.isEmpty(type) ||
|
||||
type.startsWith("unknown/") || type.endsWith("/unknown") ||
|
||||
"application/octet-stream".equals(type) || "application/zip".equals(type)) {
|
||||
|
||||
Reference in New Issue
Block a user