Workaround incorrect Powerpoint mime type

pull/178/head
M66B 4 years ago
parent fd3147ce8b
commit e3f899a81f

@ -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)) {

Loading…
Cancel
Save