Take name from UserAgentService response

For possible avi name changes, this time proper HG formatted.
Not sure if this is used tho, and no way to test (don't have two grids).
This commit is contained in:
lickx
2026-01-31 16:16:08 +01:00
parent 7adc5b6b51
commit 2ae41550fe

View File

@@ -1909,6 +1909,9 @@ namespace OpenSim.Region.CoreModules.Avatar.UserProfiles
return false;
account = new UserAccount();
if (info.ContainsKey("user_firstname") && info.ContainsKey("user_lastname"))
account.FirstName = info["user_firstname"] + "." + info["user_lastname"];
if (info.ContainsKey("user_flags"))
account.UserFlags = (int)info["user_flags"];