Don't update PAL namecard with empty strings

This commit is contained in:
Simon Walton 2019-01-28 17:44:04 -08:00
parent 1aa6221f57
commit d2af7eed3d

View file

@ -1215,7 +1215,7 @@ Rectangle {
if (userIndex !== -1) {
['userName', 'admin', 'connection', 'profileUrl', 'placeName'].forEach(function (name) {
var value = message.params[name];
if (value === undefined) {
if (value === undefined || value == "") {
return;
}
nearbyUserModel.setProperty(userIndex, name, value);