mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Also add missing suffix (#1973)
This commit is contained in:
@@ -1196,6 +1196,7 @@ pub fn guess_msgtype_from_suffix(path: &Path) -> Option<(Viewtype, &str)> {
|
|||||||
"jpg" => (Viewtype::Image, "image/jpeg"),
|
"jpg" => (Viewtype::Image, "image/jpeg"),
|
||||||
"json" => (Viewtype::File, "application/json"),
|
"json" => (Viewtype::File, "application/json"),
|
||||||
"mov" => (Viewtype::Video, "video/quicktime"),
|
"mov" => (Viewtype::Video, "video/quicktime"),
|
||||||
|
"m4a" => (Viewtype::Audio, "audio/m4a"),
|
||||||
"mp3" => (Viewtype::Audio, "audio/mpeg"),
|
"mp3" => (Viewtype::Audio, "audio/mpeg"),
|
||||||
"mp4" => (Viewtype::Video, "video/mp4"),
|
"mp4" => (Viewtype::Video, "video/mp4"),
|
||||||
"odp" => (
|
"odp" => (
|
||||||
|
|||||||
Reference in New Issue
Block a user