mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-28 10:47:46 +00:00
Fix display name not being set correctly once we pair with a device.
This commit is contained in:
parent
8ccfa77ef6
commit
291fb7f7ad
@ -1116,7 +1116,7 @@ public class PushDecryptJob extends BaseJob implements InjectableType {
|
||||
storageAPI.updateUserDeviceMappings();
|
||||
// Update display names
|
||||
if (content.senderDisplayName.isPresent() && content.senderDisplayName.get().length() > 0) {
|
||||
setDisplayName(envelope.getSource(), content.senderDisplayName.get());
|
||||
TextSecurePreferences.setProfileName(context, content.senderDisplayName.get());
|
||||
}
|
||||
|
||||
// Contact sync
|
||||
|
Loading…
x
Reference in New Issue
Block a user