mirror of
https://github.com/chatmail/core.git
synced 2026-05-17 05:46:30 +03:00
fix: Fail receive_imf to not tombstone Chat-Edit message if original message isn't found
This commit is contained in:
@@ -2379,10 +2379,7 @@ async fn handle_edit_delete(
|
|||||||
warn!(context, "Edit message: Database entry does not exist.");
|
warn!(context, "Edit message: Database entry does not exist.");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
warn!(
|
bail!("Edit message: rfc724_mid {rfc724_mid:?} not found (SKIP_DEVICE_MSG)");
|
||||||
context,
|
|
||||||
"Edit message: rfc724_mid {rfc724_mid:?} not found."
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
} else if let Some(rfc724_mid_list) = mime_parser.get_header(HeaderDef::ChatDelete)
|
} else if let Some(rfc724_mid_list) = mime_parser.get_header(HeaderDef::ChatDelete)
|
||||||
&& let Some(part) = mime_parser.parts.first()
|
&& let Some(part) = mime_parser.parts.first()
|
||||||
|
|||||||
Reference in New Issue
Block a user