mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 02:50:56 +01:00
Normalize data/type
This commit is contained in:
@@ -154,6 +154,8 @@ public class EntityAttachment {
|
||||
if (encryption != null)
|
||||
return type;
|
||||
|
||||
// https://blogs.msdn.microsoft.com/vsofficedeveloper/2008/05/08/office-2007-file-format-mime-types-for-http-content-streaming-2/
|
||||
|
||||
String extension = Helper.getExtension(name);
|
||||
if (extension == null)
|
||||
return type;
|
||||
|
||||
Reference in New Issue
Block a user