mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 01:40:07 +01:00
Fix note to self sorting by profile name in search bug.
This commit is contained in:
committed by
Greyson Parrelli
parent
e2b0567534
commit
ecc573f6b5
@@ -233,7 +233,7 @@ public final class LiveRecipientCache {
|
||||
stopwatch.split("thread");
|
||||
|
||||
if (SignalStore.registration().isRegistrationComplete() && SignalStore.account().getAci() != null) {
|
||||
try (Cursor cursor = SignalDatabase.recipients().getNonGroupContacts(false)) {
|
||||
try (Cursor cursor = SignalDatabase.recipients().getNonGroupContacts(RecipientTable.IncludeSelfMode.Exclude.INSTANCE)) {
|
||||
int count = 0;
|
||||
while (cursor != null && cursor.moveToNext() && count < CONTACT_CACHE_WARM_MAX) {
|
||||
RecipientId id = RecipientId.from(CursorUtil.requireLong(cursor, RecipientTable.ID));
|
||||
|
||||
Reference in New Issue
Block a user