Recipient lookup should happen as caller specifices.

..rather than always synchronously.

Fixes #3447
// FREEBIE
pull/1/head
Moxie Marlinspike 10 years ago
parent 2fb9806f36
commit 9fc02c8ce1

@ -73,7 +73,7 @@ public class RecipientProvider {
List<Recipient> recipientList = new LinkedList<>();
for (long recipientId : recipientIds) {
recipientList.add(getRecipient(context, recipientId, false));
recipientList.add(getRecipient(context, recipientId, asynchronous));
}
if (asynchronous) cachedRecipients = new Recipients(recipientList, getRecipientsPreferencesAsync(context, recipientIds));

Loading…
Cancel
Save