mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
fix the name won't update for the first message
This commit is contained in:
parent
e64ac14b77
commit
9afa0d5886
@ -253,6 +253,7 @@ public class RecipientDatabase extends Database {
|
|||||||
ContentValues contentValues = new ContentValues(1);
|
ContentValues contentValues = new ContentValues(1);
|
||||||
contentValues.put(SYSTEM_DISPLAY_NAME, profileName);
|
contentValues.put(SYSTEM_DISPLAY_NAME, profileName);
|
||||||
updateOrInsert(recipient.getAddress(), contentValues);
|
updateOrInsert(recipient.getAddress(), contentValues);
|
||||||
|
recipient.resolve().setName(profileName);
|
||||||
recipient.resolve().setProfileName(profileName);
|
recipient.resolve().setProfileName(profileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user