mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-30 05:44:51 +02:00
Workaround incorrect Powerpoint mime type
This commit is contained in:
@@ -255,6 +255,9 @@ public class EntityAttachment {
|
||||
if ("ppt".equals(extension))
|
||||
return "application/vnd.ms-powerpoint";
|
||||
|
||||
if ("application/vnd.ms-pps".equals(type))
|
||||
return "application/vnd.ms-powerpoint";
|
||||
|
||||
if ("pptx".equals(extension))
|
||||
return "application/vnd.openxmlformats-officedocument.presentationml.presentation";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user