Rm the shared_secrets from used messages
This commit is contained in:
parent
4b8d5c3611
commit
0c5ddefc4b
@ -891,6 +891,7 @@ fn decrypt_with_cached_messages(
|
|||||||
let _ = Prd::extract_from_message_with_commitment(&plain, &commitment)?;
|
let _ = Prd::extract_from_message_with_commitment(&plain, &commitment)?;
|
||||||
// Update the message status
|
// Update the message status
|
||||||
message.status = CachedMessageStatus::NoStatus;
|
message.status = CachedMessageStatus::NoStatus;
|
||||||
|
message.shared_secrets = vec![]; // this way we won't check it again
|
||||||
|
|
||||||
return Ok(Some((
|
return Ok(Some((
|
||||||
plain,
|
plain,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user