Fix image/jpg

This commit is contained in:
M66B
2022-02-15 15:34:05 +01:00
parent b5413bc830
commit c9fac1eabb
2 changed files with 1 additions and 5 deletions

View File

@@ -242,7 +242,7 @@ public class EntityAttachment {
return "audio/midi";
// https://www.rfc-editor.org/rfc/rfc3555.txt
if ("video/jpeg".equals(type))
if ("image/jpg".equals(type) || "video/jpeg".equals(type))
return "image/jpeg";
if (!TextUtils.isEmpty(type) &&