diff options
Diffstat (limited to 'OpenSim/Services/Connectors')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs index e48b7de..b86c45c 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianPresenceServiceConnector.cs | |||
@@ -511,20 +511,8 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
511 | 511 | ||
512 | PresenceInfo info = new PresenceInfo(); | 512 | PresenceInfo info = new PresenceInfo(); |
513 | 513 | ||
514 | info.Online = true; | ||
515 | info.UserID = sessionResponse["UserID"].AsUUID().ToString(); | 514 | info.UserID = sessionResponse["UserID"].AsUUID().ToString(); |
516 | info.RegionID = sessionResponse["SceneID"].AsUUID(); | 515 | info.RegionID = sessionResponse["SceneID"].AsUUID(); |
517 | info.Position = sessionResponse["ScenePosition"].AsVector3(); | ||
518 | info.LookAt = sessionResponse["SceneLookAt"].AsVector3(); | ||
519 | |||
520 | if (userResponse != null && userResponse["User"] is OSDMap) | ||
521 | { | ||
522 | OSDMap user = (OSDMap)userResponse["User"]; | ||
523 | |||
524 | info.Login = user["LastLoginDate"].AsDate(); | ||
525 | info.Logout = user["LastLogoutDate"].AsDate(); | ||
526 | DeserializeLocation(user["HomeLocation"].AsString(), out info.HomeRegionID, out info.HomePosition, out info.HomeLookAt); | ||
527 | } | ||
528 | 516 | ||
529 | return info; | 517 | return info; |
530 | } | 518 | } |