Workaround for audio-x/wav

pull/212/head
M66B 2 years ago
parent ea4297f729
commit 65152336f6

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

Loading…
Cancel
Save