mirror of
https://github.com/signalapp/Signal-Android.git
synced 2025-12-23 20:48:43 +00:00
Recipient lookup should happen as caller specifices.
..rather than always synchronously. Fixes #3447 // FREEBIE
This commit is contained in:
@@ -73,7 +73,7 @@ public class RecipientProvider {
|
|||||||
List<Recipient> recipientList = new LinkedList<>();
|
List<Recipient> recipientList = new LinkedList<>();
|
||||||
|
|
||||||
for (long recipientId : recipientIds) {
|
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));
|
if (asynchronous) cachedRecipients = new Recipients(recipientList, getRecipientsPreferencesAsync(context, recipientIds));
|
||||||
|
|||||||
Reference in New Issue
Block a user