mirror of
https://github.com/oxen-io/session-android.git
synced 2025-12-25 13:06:23 +00:00
Don't invalidate entire recipient cache when contact data changes
This commit is contained in:
@@ -399,7 +399,7 @@ public class RecipientDatabase extends Database {
|
||||
database.setTransactionSuccessful();
|
||||
database.endTransaction();
|
||||
|
||||
Stream.of(pendingDisplayNames).forEach(pair -> pair.first().resolve().setSystemDisplayName(pair.second()));
|
||||
Stream.of(pendingDisplayNames).forEach(pair -> pair.first().resolve().setName(pair.second()));
|
||||
|
||||
context.getContentResolver().notifyChange(Uri.parse(RECIPIENT_PREFERENCES_URI), null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user