mirror of
https://github.com/chatmail/core.git
synced 2026-04-02 05:22:14 +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"),
|
||||
"json" => (Viewtype::File, "application/json"),
|
||||
"mov" => (Viewtype::Video, "video/quicktime"),
|
||||
"m4a" => (Viewtype::Audio, "audio/m4a"),
|
||||
"mp3" => (Viewtype::Audio, "audio/mpeg"),
|
||||
"mp4" => (Viewtype::Video, "video/mp4"),
|
||||
"odp" => (
|
||||
|
||||
Reference in New Issue
Block a user