Workaround for audio-x/wav

This commit is contained in:
M66B 2023-04-24 21:40:02 +02:00
parent ea4297f729
commit 65152336f6
1 changed files with 3 additions and 0 deletions

View File

@ -226,6 +226,9 @@ public class EntityAttachment {
if ("audio/mid".equals(type))
return "audio/midi";
if ("audio-x/wav".equals(type))
return "audio/wav";
// https://www.rfc-editor.org/rfc/rfc3555.txt
if ("image/jpg".equals(type) || "video/jpeg".equals(type))
return "image/jpeg";