Allow lazy creation of Recipient.self()

This commit is contained in:
Greyson Parrelli committed 2021-11-04 18:29:50 -04:00
1 parent 3037a33267
commit fb0b1af056
1 file changed
+1 -1
@@ -165,7 +165,7 @@ public final class LiveRecipientCache {
}
if (selfId == null) {
throw new MissingRecipientException(null);
selfId = recipientDatabase.getAndPossiblyMerge(localAci, localE164, false);
}
synchronized (localRecipientId) {