Fix display name not being set correctly once we pair with a device.

pull/51/head
Mikunj Varsani 5 years ago
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…
Cancel
Save