mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +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…
Reference in New Issue
Block a user