Return enum from IdentityKeyStore::save_identity

This commit is contained in:
Alex Bakon
2025-04-23 09:16:51 -04:00
committed by GitHub
parent b749afc059
commit 9392062a7e
8 changed files with 49 additions and 28 deletions

View File

@@ -177,7 +177,7 @@ fn test_basic_prekey() -> TestResult {
SignalProtocolError::UntrustedIdentity(a) if a == alice_address
));
assert!(
assert_eq!(
bob_store_builder
.store
.save_identity(
@@ -187,7 +187,8 @@ fn test_basic_prekey() -> TestResult {
.await?
.identity_key(),
)
.await?
.await?,
IdentityChange::ReplacedExisting
);
let decrypted = decrypt(