diff options
Set the local grid flag in the user account through the simian connector
This should make bi-directional hypergrid work.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs index 91e2976..4350749 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianUserAccountServiceConnector.cs | |||
@@ -287,6 +287,10 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
287 | account.UserFlags = response["UserFlags"].AsInteger(); | 287 | account.UserFlags = response["UserFlags"].AsInteger(); |
288 | account.UserLevel = response["AccessLevel"].AsInteger(); | 288 | account.UserLevel = response["AccessLevel"].AsInteger(); |
289 | account.UserTitle = response["UserTitle"].AsString(); | 289 | account.UserTitle = response["UserTitle"].AsString(); |
290 | account.LocalToGrid = true; | ||
291 | if (response.ContainsKey("LocalToGrid")) | ||
292 | account.LocalToGrid = (response["LocalToGrid"].AsString() == "true" ? true : false); | ||
293 | |||
290 | GetFirstLastName(response["Name"].AsString(), out account.FirstName, out account.LastName); | 294 | GetFirstLastName(response["Name"].AsString(), out account.FirstName, out account.LastName); |
291 | 295 | ||
292 | // Cache the user account info | 296 | // Cache the user account info |