Add support for patch files

master
Edward Shen 2022-01-11 20:42:30 -08:00
parent 2ebde58c86
commit a17f4d94e4
Signed by: edward
GPG Key ID: 19182661E818369F
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ pub fn decrypt(
log!(format!("Blob conversion completed in {}ms", now() - start));
if mime_type.starts_with("text/") {
if mime_type.starts_with("text/") || mime_type == "application/mbox" {
if let Ok(string) = String::from_utf8(container) {
Ok(DecryptedData::String(Arc::new(string)))
} else {