Add support for patch files
This commit is contained in:
parent
2ebde58c86
commit
a17f4d94e4
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ pub fn decrypt(
|
||||||
|
|
||||||
log!(format!("Blob conversion completed in {}ms", now() - start));
|
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) {
|
if let Ok(string) = String::from_utf8(container) {
|
||||||
Ok(DecryptedData::String(Arc::new(string)))
|
Ok(DecryptedData::String(Arc::new(string)))
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue