check in heuristically_parse_ndn() that rfc724_mid_exists() so that we do not ignore emails because we erreneously thought that it was an ndn

This commit is contained in:
Hocuri
2020-06-12 11:02:45 +02:00
parent adf4035775
commit 27ff1c4a75
2 changed files with 13 additions and 10 deletions

View File

@@ -406,7 +406,6 @@ async fn add_parts(
.unwrap_or_default();
if chat_id.is_unset() {
// check if the message belongs to an NDN
if mime_parser.failure_report.is_some() {
*chat_id = ChatId::new(DC_CHAT_ID_TRASH);
info!(