Recipient lookup should happen as caller specifices.

..rather than always synchronously.

Fixes #3447
// FREEBIE
fork-5.53.8
Moxie Marlinspike 2015-06-22 18:01:54 -07:00
rodzic 2fb9806f36
commit 9fc02c8ce1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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));