aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts
diff options
context:
space:
mode:
authorMelanie2019-08-07 17:58:08 +0100
committerMelanie2019-08-07 17:58:08 +0100
commitd781742d8e966bedb7ac0f9e637003d090a35375 (patch)
treebd60ff26f75c3bbf0ae4a1ce8e4f37771d3e53ab /OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts
parentAlso remove the defaults from Configger (diff)
downloadopensim-SC-d781742d8e966bedb7ac0f9e637003d090a35375.zip
opensim-SC-d781742d8e966bedb7ac0f9e637003d090a35375.tar.gz
opensim-SC-d781742d8e966bedb7ac0f9e637003d090a35375.tar.bz2
opensim-SC-d781742d8e966bedb7ac0f9e637003d090a35375.tar.xz
Fix scope support to get friends list names across co-hosted grids
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts')
-rw-r--r--OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/RemoteUserAccountServiceConnector.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/RemoteUserAccountServiceConnector.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/RemoteUserAccountServiceConnector.cs
index b510d0a..9574d08 100644
--- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/RemoteUserAccountServiceConnector.cs
+++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/UserAccounts/RemoteUserAccountServiceConnector.cs
@@ -164,6 +164,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
164 164
165 public override List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs) 165 public override List<UserAccount> GetUserAccounts(UUID scopeID, List<string> IDs)
166 { 166 {
167 m_log.DebugFormat("[REMOTE USER ACCOUNTS]: Request for {0} records", IDs.Count);
167 List<UserAccount> accs = new List<UserAccount>(); 168 List<UserAccount> accs = new List<UserAccount>();
168 List<string> missing = new List<string>(); 169 List<string> missing = new List<string>();
169 170
@@ -177,9 +178,14 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
177 { 178 {
178 account = m_Cache.Get(uuid, out inCache); 179 account = m_Cache.Get(uuid, out inCache);
179 if (inCache) 180 if (inCache)
181 {
180 accs.Add(account); 182 accs.Add(account);
183 m_log.DebugFormat("[REMOTE USER ACCOUNTS]: Found in cache: {0}, is null {1}", uuid, account == null);
184 }
181 else 185 else
186 {
182 missing.Add(id); 187 missing.Add(id);
188 }
183 } 189 }
184 } 190 }
185 191
@@ -198,6 +204,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.UserAccounts
198 } 204 }
199 } 205 }
200 } 206 }
207 m_log.DebugFormat("[REMOTE USER ACCOUNTS]: returned {0} records", accs.Count);
201 return accs; 208 return accs;
202 } 209 }
203 210