diff options
Diffstat (limited to 'OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs index b24d763..fb4c3a6 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCacheService.cs | |||
@@ -72,6 +72,15 @@ namespace OpenSim.Framework.Communications.Cache | |||
72 | } | 72 | } |
73 | } | 73 | } |
74 | 74 | ||
75 | public void UpdateUserInventory(LLUUID userID) | ||
76 | { | ||
77 | CachedUserInfo userInfo = GetUserDetails(userID); | ||
78 | if (userInfo != null) | ||
79 | { | ||
80 | RequestInventoryForUser(userID, userInfo); | ||
81 | } | ||
82 | } | ||
83 | |||
75 | public CachedUserInfo GetUserDetails(LLUUID userID) | 84 | public CachedUserInfo GetUserDetails(LLUUID userID) |
76 | { | 85 | { |
77 | if (m_userProfiles.ContainsKey(userID)) | 86 | if (m_userProfiles.ContainsKey(userID)) |