fix: do not allow chat creation if decryption failed

This commit is contained in:
link2xt
2025-05-13 00:20:51 +00:00
committed by l
parent 09d18f9097
commit 4c287075da
3 changed files with 8 additions and 9 deletions

View File

@@ -612,7 +612,7 @@ mod tests {
// the same sync message sent to bob must not be executed
let bob = TestContext::new_bob().await;
bob.recv_msg(&sent_msg).await;
bob.recv_msg_trash(&sent_msg).await;
assert!(!token::exists(&bob, token::Namespace::Auth, "testtoken").await?);
Ok(())