Set the local grid flag in the user account through the simian connector

This should make bi-directional hypergrid work.
This commit is contained in:
Mic Bowman
2011-12-29 16:37:16 -08:00
parent 571efeddb2
commit 967ea51980

View File

@@ -287,6 +287,10 @@ namespace OpenSim.Services.Connectors.SimianGrid
account.UserFlags = response["UserFlags"].AsInteger();
account.UserLevel = response["AccessLevel"].AsInteger();
account.UserTitle = response["UserTitle"].AsString();
account.LocalToGrid = true;
if (response.ContainsKey("LocalToGrid"))
account.LocalToGrid = (response["LocalToGrid"].AsString() == "true" ? true : false);
GetFirstLastName(response["Name"].AsString(), out account.FirstName, out account.LastName);
// Cache the user account info