fix: add .caf to AUDIO_FILE_EXTENSIONS (#10982)

* fix: add .caf to AUDIO_FILE_EXTENSIONS for iMessage voice messages

* fix: add caf audio extension regression coverage (#10982) (thanks @succ985)

---------

Co-authored-by: succ985 <succ985@users.noreply.github.com>
Co-authored-by: Gustavo Madeira Santana <gumadeiras@gmail.com>
This commit is contained in:
succ985
2026-02-08 07:04:22 +08:00
committed by GitHub
parent 8da20027c4
commit b8f740fb14
3 changed files with 17 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ const MIME_BY_EXT: Record<string, string> = {
const AUDIO_FILE_EXTENSIONS = new Set([
".aac",
".caf",
".flac",
".m4a",
".mp3",