diff --git a/src/org/thoughtcrime/securesms/ConfirmIdentityDialog.java b/src/org/thoughtcrime/securesms/ConfirmIdentityDialog.java index 2fcb41627d..2761c594f9 100644 --- a/src/org/thoughtcrime/securesms/ConfirmIdentityDialog.java +++ b/src/org/thoughtcrime/securesms/ConfirmIdentityDialog.java @@ -24,6 +24,7 @@ import org.thoughtcrime.securesms.database.PushDatabase; import org.thoughtcrime.securesms.database.SmsDatabase; import org.thoughtcrime.securesms.database.documents.IdentityKeyMismatch; import org.thoughtcrime.securesms.database.model.MessageRecord; +import org.thoughtcrime.securesms.jobs.IdentityUpdateJob; import org.thoughtcrime.securesms.jobs.PushDecryptJob; import org.thoughtcrime.securesms.recipients.Recipient; import org.thoughtcrime.securesms.recipients.RecipientFactory; @@ -101,6 +102,10 @@ public class ConfirmIdentityDialog extends AlertDialog { processMessageRecord(messageRecord); processPendingMessageRecords(messageRecord.getThreadId(), mismatch); + ApplicationContext.getInstance(getContext()) + .getJobManager() + .add(new IdentityUpdateJob(getContext(), mismatch.getRecipientId())); + return null; }