fix: lookup_chat_by_reply(): Skip undecipherable parent messages created by older versions (#4676)

It's just a dirty hack checking the error prefix, but as undecipherable messages are remembered in
the db now, the hack may be removed soon.
This commit is contained in:
iequidoo
2023-09-09 21:48:56 -03:00
committed by link2xt
parent 676f311f97
commit b227ff87dc
2 changed files with 12 additions and 1 deletions

View File

@@ -438,6 +438,8 @@ impl MimeMessage {
typ: Viewtype::Text,
msg_raw: Some(txt.clone()),
msg: txt,
// Don't change the error prefix for now,
// receive_imf.rs:lookup_chat_by_reply() checks it.
error: Some(format!("Decrypting failed: {err:#}")),
..Default::default()
};