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

@@ -79,7 +79,7 @@ async fn test_sending_pre_message() -> Result<()> {
);
let decrypted_post_message = bob.parse_msg(post_message).await;
assert_eq!(decrypted_post_message.decrypting_failed, false);
assert!(decrypted_post_message.decryption_error.is_none());
assert_eq!(
decrypted_post_message.header_exists(HeaderDef::ChatPostMessageId),
false