Files
chatwoot/app/javascript/dashboard/components-next/dropdown-menu
Vinay Keerthi 9d858a6f9b fix: Correct MIME type for WhatsApp audio files to prevent upload errors
WhatsApp Cloud API was rejecting audio forwards with Error 131053 because
audio/opus MIME type is unsupported. WhatsApp expects audio/ogg; codecs=opus
for .ogg files.

When receiving audio from WhatsApp, the file may be served with audio/opus
content-type header. This fix detects audio/opus + .ogg extension and corrects
it to audio/ogg; codecs=opus before storing in ActiveStorage.

Note: ActiveStorage's Marcel gem may still override this during analysis.
This is a known limitation that needs architectural discussion.

Fixes #12713
2025-11-12 19:29:30 +05:30
..