Okay so we need to be careful here, this does temporarily fix the issue, but I see several very rough moments here:
If somehow the first name or last name are null, this will throw an NPE.
The "displayName" was originally the used for this and this is correct, however we still need to have the deviceName, I think the issue here is the displayName is actually what you want to send out...
Did you test these with Jami and did you check that this does generate the correct result?
Okay so we need to be careful here, this does temporarily fix the issue, but I see several very rough moments here:
1. If somehow the first name or last name are null, this will throw an NPE.
2. The "displayName" was originally the used for this and this is correct, however we still need to have the deviceName, I think the issue here is the displayName is actually what you want to send out...
Did you test these with Jami and did you check that this does generate the correct result?
Yes it does send the correct result. I don't understand what you mean in point 2. We still need the device name so what do you suggest ? Should we put it somewhere esle or change the Device Model Object.
Yes it does send the correct result. I don't understand what you mean in point 2. We still need the device name so what do you suggest ? Should we put it somewhere esle or change the Device Model Object.