mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
application/x-pdf, pdf/pdf, what else?
This commit is contained in:
parent
b4fd46b50c
commit
82c9d82396
1 changed files with 2 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue