do hide hidden groups on profile

master
UbitUmarov 2020-03-30 18:18:36 +01:00
parent 2e66f8dbdf
commit ef49ac7049
2 changed files with 4 additions and 1 deletions

View File

@ -4104,6 +4104,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
LLSDxmlEncode.AddElem("AvatarID", avatarID, sb);
LLSDxmlEncode.AddEndMapAndArray(sb);
bool notSameAvatar = avatarID != AgentId;
if(data.Length == 0)
LLSDxmlEncode.AddEmptyArray("GroupData", sb);
else
@ -4113,6 +4114,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
for (int indx = 0; indx < data.Length; ++indx)
{
m = data[indx];
if(notSameAvatar && !m.ListInProfile)
continue;
LLSDxmlEncode.AddMap(sb);
LLSDxmlEncode.AddElem("GroupPowers", m.GroupPowers, sb);
LLSDxmlEncode.AddElem("GroupTitle", m.GroupTitle, sb);

View File

@ -417,7 +417,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
if (config != null)
{
m_recvBufferSize = config.GetInt("client_socket_rcvbuf_size", 0);
sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 0);
sceneThrottleBps = config.GetInt("scene_throttle_max_bps", 6250000);
TextureSendLimit = config.GetInt("TextureSendLimit", 20);