feat: add decryption error to the device message about outgoing message decryption failure

This commit is contained in:
link2xt
2026-03-27 09:02:15 +01:00
committed by l
parent 3dd7defaa1
commit 8c3139f7a2
5 changed files with 23 additions and 17 deletions

View File

@@ -3327,7 +3327,7 @@ async fn test_outgoing_undecryptable() -> Result<()> {
assert!(
dev_msg
.text
.contains("⚠️ It seems you are using Delta Chat on multiple devices that cannot decrypt each other's outgoing messages. To fix this, on the older device use \"Settings / Add Second Device\" and follow the instructions.")
.starts_with("⚠️ It seems you are using Delta Chat on multiple devices that cannot decrypt each other's outgoing messages. To fix this, on the older device use \"Settings / Add Second Device\" and follow the instructions. (Error:")
);
let raw = include_bytes!("../../test-data/message/thunderbird_encrypted_signed.eml");