1
0
mirror of https://gitlab.com/comunic/comunicapiv3 synced 2025-06-21 00:45:18 +00:00

Add support for QuickTime videos

This commit is contained in:
2021-04-27 19:05:27 +02:00
parent 8ffb7b2b18
commit dec582e9b7
3 changed files with 4 additions and 3 deletions

View File

@ -331,7 +331,7 @@ pub fn send_message(r: &mut HttpRequestHandler) -> RequestResult {
}
// MP4
else if mime_type.eq("video/mp4") {
else if mime_type.eq("video/mp4") || mime_type.eq("video/quicktime") {
path = r.save_post_mp4("file", "conversation")?;
}