mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 14:56:57 +02:00
Merge pull request #14791 from SimonWalton-HiFi/pal_username_update
Don't update PAL namecard with empty strings
This commit is contained in:
commit
4c4a2036c7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue