From 207c467c6be938c155336aaacd87ef26e0dbc5f6 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Sun, 24 May 2020 13:00:16 -0400 Subject: [PATCH] Don't insert identity verification message for the initial restore. --- .../org/thoughtcrime/securesms/database/RecipientDatabase.java | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/main/java/org/thoughtcrime/securesms/database/RecipientDatabase.java b/app/src/main/java/org/thoughtcrime/securesms/database/RecipientDatabase.java index 709af0356b..a6e4e1fc85 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/database/RecipientDatabase.java +++ b/app/src/main/java/org/thoughtcrime/securesms/database/RecipientDatabase.java @@ -513,7 +513,6 @@ public class RecipientDatabase extends Database { IdentityKey identityKey = new IdentityKey(insert.getIdentityKey().get(), 0); DatabaseFactory.getIdentityDatabase(context).updateIdentityAfterSync(recipientId, identityKey, StorageSyncModels.remoteToLocalIdentityStatus(insert.getIdentityState())); - IdentityUtil.markIdentityVerified(context, Recipient.resolved(recipientId), true, true); } catch (InvalidKeyException e) { Log.w(TAG, "Failed to process identity key during insert! Skipping.", e); }