diff --git a/app/src/main/java/org/thoughtcrime/securesms/recipients/RecipientId.java b/app/src/main/java/org/thoughtcrime/securesms/recipients/RecipientId.java index a7a4d97fc..225a6d093 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/recipients/RecipientId.java +++ b/app/src/main/java/org/thoughtcrime/securesms/recipients/RecipientId.java @@ -95,7 +95,9 @@ public class RecipientId implements Parcelable, Comparable { RecipientId recipientId = RecipientIdCache.INSTANCE.get(uuid, e164); if (recipientId == null) { - recipientId = Recipient.externalPush(ApplicationDependencies.getApplication(), uuid, e164, highTrust).getId(); + Recipient recipient = Recipient.externalPush(ApplicationDependencies.getApplication(), uuid, e164, highTrust); + RecipientIdCache.INSTANCE.put(recipient); + recipientId = recipient.getId(); } return recipientId;