Skip to content
Snippets Groups Projects
Commit 518a4785 authored by Ndèye Anna Ndiaye's avatar Ndèye Anna Ndiaye Committed by Adrien Béraud
Browse files

Review corrections for diplay name in Jami Client

Change-Id: Idcf245e99ab31fa1f9f5a149782c34dab1161c54
parent c61a41e9
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ public class RegisterDeviceFlow {
Device device = new Device();
device.setCertificationRequest(registrationRequest.getCsr());
device.setOwner(username);
device.setDisplayName(userProfile.getFirstName()+" "+userProfile.getLastName());
device.setDisplayName(registrationRequest.getDeviceName());
device = certificateAuthority.getSignedCertificate(user, device);
if(device == null){
log.error("Could not succesfully create a device certificate!");
......@@ -72,7 +72,7 @@ public class RegisterDeviceFlow {
device.getCertificate().getPublicKey(), user.getEthAddress());
response.setDeviceReceipt(devReceipt[0]);
response.setReceiptSignature(devReceipt[1]);
response.setDisplayName(device.getDisplayName());
response.setDisplayName(userProfile.getFirstName()+" "+userProfile.getLastName());
//We need to set
response.setNameServer(nameServer.getURI());
if(userProfile.getProfilePicture() != null) response.setUserPhoto(userProfile.getProfilePicture());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment