mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-28 12:44:34 +01:00
Speed up the recipient warm-up phase.
This commit is contained in:
committed by
Alan Evans
parent
61c5fc1057
commit
740e934e5d
@@ -160,8 +160,7 @@ public final class LiveRecipientCache {
|
||||
}
|
||||
|
||||
Log.d(TAG, "Warming up " + recipients.size() + " recipients.");
|
||||
Collections.reverse(recipients);
|
||||
Stream.of(recipients).map(Recipient::getId).forEach(this::getLive);
|
||||
addToCache(recipients);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user