Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
upload: Serve more cross-browser audio and image formats as inline.
Anders Kaseorg5f053c4aa762
diff --git a/zerver/lib/upload/base.py b/zerver/lib/upload/base.pyindex 560a5a5b5eb..84592d430c7 100644--- a/zerver/lib/upload/base.py+++ b/zerver/lib/upload/base.py@@ -26,6 +26,14 @@ MAX_EMOJI_GIF_FILE_SIZE_BYTES = 128 * 1024 * 1024 # 128 kbINLINE_MIME_TYPES = ["application/pdf",+ "audio/aac",+ "audio/flac",+ "audio/mp4",+ "audio/mpeg",+ "audio/wav",+ "audio/webm",+ "image/apng",+ "image/avif","image/gif","image/jpeg","image/png",