mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 18:11:03 +01:00
application/x-pdf, pdf/pdf, what else?
This commit is contained in:
@@ -204,7 +204,8 @@ public class EntityAttachment {
|
||||
if ("video/jpeg".equals(type))
|
||||
return "image/jpeg";
|
||||
|
||||
if ("application/x-pdf".equals(type))
|
||||
if (!TextUtils.isEmpty(type) &&
|
||||
(type.endsWith("/pdf") || type.endsWith("/x-pdf")))
|
||||
return "application/pdf";
|
||||
|
||||
if ("application/vnd.ms-pps".equals(type))
|
||||
|
||||
Reference in New Issue
Block a user