mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 16:57:50 +00:00
Recipient lookup should happen as caller specifices.
..rather than always synchronously. Fixes #3447 // FREEBIE
This commit is contained in:
parent
2fb9806f36
commit
9fc02c8ce1
@ -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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user