reduce (again) number of http requestes on getdisplaynames

This commit is contained in:
UbitUmarov
2021-01-07 20:37:44 +00:00
parent a3b26255dd
commit 91bfc2f62c
3 changed files with 249 additions and 22 deletions

View File

@@ -2288,7 +2288,7 @@ namespace OpenSim.Region.ClientStack.Linden
NameValueCollection query = httpRequest.QueryString;
string[] ids = query.GetValues("ids");
Dictionary<UUID,string> names = m_UserManager.GetUsersNames(ids, m_scopeID);
Dictionary<UUID,string> names = m_UserManager.GetKnownUserNames(ids, m_scopeID);
osUTF8 lsl = LLSDxmlEncode2.Start(names.Count * 256 + 256);
LLSDxmlEncode2.AddMap(lsl);
int ct = 0;