Allow lazy creation of Recipient.self()

This commit is contained in:
Greyson Parrelli 2021-11-04 12:17:19 -04:00
parent 3037a33267
commit fb0b1af056

View file

@ -165,7 +165,7 @@ public final class LiveRecipientCache {
}
if (selfId == null) {
throw new MissingRecipientException(null);
selfId = recipientDatabase.getAndPossiblyMerge(localAci, localE164, false);
}
synchronized (localRecipientId) {