aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2015-01-21 22:26:35 +0000
committerJustin Clark-Casey (justincc)2015-01-21 22:26:35 +0000
commit2d574c3036964d95dbf914d5f5858a3c39f0c16e (patch)
tree6af07c01ae73fddcdbc036992de6c8f52f355d3e
parentIf the SnedInventoryAync() method receives an exception log this but make sur... (diff)
downloadopensim-SC-2d574c3036964d95dbf914d5f5858a3c39f0c16e.zip
opensim-SC-2d574c3036964d95dbf914d5f5858a3c39f0c16e.tar.gz
opensim-SC-2d574c3036964d95dbf914d5f5858a3c39f0c16e.tar.bz2
opensim-SC-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.cs2
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