try fix incoming text/html in multipart/mixed

This commit is contained in:
holger krekel
2019-12-07 08:16:19 +01:00
parent f32876708a
commit 9e2a96675d
3 changed files with 16 additions and 35 deletions

View File

@@ -47,10 +47,12 @@ pub fn dc_receive_imf(
server_uid,
);
/*
if std::env::var(crate::DCC_MIME_DEBUG).is_ok() {
info!(context, "dc_receive_imf: incoming message mime-body:");
println!("{}", String::from_utf8_lossy(imf_raw));
}
*/
let mime_parser = MimeParser::from_bytes(context, imf_raw);
let mut mime_parser = if let Err(err) = mime_parser {