diff options
author | Justin Clark-Casey (justincc) | 2015-01-21 22:26:35 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2015-01-21 22:26:35 +0000 |
commit | 2d574c3036964d95dbf914d5f5858a3c39f0c16e (patch) | |
tree | 6af07c01ae73fddcdbc036992de6c8f52f355d3e | |
parent | If the SnedInventoryAync() method receives an exception log this but make sur... (diff) | |
download | opensim-SC_OLD-2d574c3036964d95dbf914d5f5858a3c39f0c16e.zip opensim-SC_OLD-2d574c3036964d95dbf914d5f5858a3c39f0c16e.tar.gz opensim-SC_OLD-2d574c3036964d95dbf914d5f5858a3c39f0c16e.tar.bz2 opensim-SC_OLD-2d574c3036964d95dbf914d5f5858a3c39f0c16e.tar.xz |
Stop currently unsettable display names from appearing when [ClientStack.LindenCaps] Cap_GetDisplayNames = "localhost" is set by never passing the username.
Unexpectedly, not setting user name achieves this whereas one might have expected it to be done by not setting display_name in the cap OSD.
Emulates LL behaviour when no display name is set.
Relates to http://opensimulator.org/mantis/view.php?id=7408
-rw-r--r-- | OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs b/OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs index 0353d9d..08faf2d 100644 --- a/OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs +++ b/OpenSim/Capabilities/Handlers/GetDisplayNames/GetDisplayNamesHandler.cs | |||
@@ -97,7 +97,7 @@ namespace OpenSim.Capabilities.Handlers | |||
97 | osdname["display_name"] = OSD.FromString(name); | 97 | osdname["display_name"] = OSD.FromString(name); |
98 | osdname["legacy_first_name"] = parts[0]; | 98 | osdname["legacy_first_name"] = parts[0]; |
99 | osdname["legacy_last_name"] = parts[1]; | 99 | osdname["legacy_last_name"] = parts[1]; |
100 | osdname["username"] = OSD.FromString(name); | 100 | osdname["username"] = ""; |
101 | osdname["id"] = OSD.FromUUID(uuid); | 101 | osdname["id"] = OSD.FromUUID(uuid); |
102 | osdname["is_display_name_default"] = OSD.FromBoolean(false); | 102 | osdname["is_display_name_default"] = OSD.FromBoolean(false); |
103 | 103 | ||