Fix identity key update failure when profile key verification failed.

This commit is contained in:
Cody Henthorne
2025-08-01 13:31:29 -04:00
parent a60f3a26fb
commit e6e869e074
13 changed files with 79 additions and 32 deletions

View File

@@ -238,7 +238,7 @@ public class SignalBaseIdentityKeyStore {
}
if (!identityKey.equals(identityRecord.getIdentityKey())) {
Log.w(TAG, "Identity keys don't match... service: " + identityKey.hashCode() + " database: " + identityRecord.getIdentityKey().hashCode());
Log.w(TAG, "Identity keys don't match... service: ***" + (identityKey.hashCode() % 100) + " database: ***" + (identityRecord.getIdentityKey().hashCode() % 100));
return false;
}