mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-11 16:33:39 +00:00
Preserve unverified status if aleady unverified on update
// FREEBIE
This commit is contained in:
parent
7f76bcc976
commit
666be5f358
@ -61,7 +61,9 @@ public class TextSecureIdentityKeyStore implements IdentityKeyStore {
|
||||
Log.w(TAG, "Replacing existing identity...");
|
||||
VerifiedStatus verifiedStatus;
|
||||
|
||||
if (identityRecord.get().getVerifiedStatus() == VerifiedStatus.VERIFIED) {
|
||||
if (identityRecord.get().getVerifiedStatus() == VerifiedStatus.VERIFIED ||
|
||||
identityRecord.get().getVerifiedStatus() == VerifiedStatus.UNVERIFIED)
|
||||
{
|
||||
verifiedStatus = VerifiedStatus.UNVERIFIED;
|
||||
} else {
|
||||
verifiedStatus = VerifiedStatus.DEFAULT;
|
||||
|
Loading…
x
Reference in New Issue
Block a user