add a coment for improvement of ChatterBoxSessionAgentListUpdates closer to viewers protocol. Not necessary on current groups chat lists defecient implementation

LSLKeyTest
UbitUmarov 2016-07-23 21:20:36 +01:00
parent c4db0dd6ac
commit f4eb1a8e1d
1 changed files with 3 additions and 0 deletions

View File

@ -315,6 +315,8 @@ namespace OpenSim.Region.ClientStack.Linden
OSDMap infoDetail = new OSDMap(); OSDMap infoDetail = new OSDMap();
OSDMap mutes = new OSDMap(); OSDMap mutes = new OSDMap();
// this should be a list of agents and parameters
// foreach agent
mutes.Add("text", OSD.FromBoolean(textMute)); mutes.Add("text", OSD.FromBoolean(textMute));
infoDetail.Add("can_voice_chat", OSD.FromBoolean(canVoiceChat)); infoDetail.Add("can_voice_chat", OSD.FromBoolean(canVoiceChat));
infoDetail.Add("is_moderator", OSD.FromBoolean(isModerator)); infoDetail.Add("is_moderator", OSD.FromBoolean(isModerator));
@ -327,6 +329,7 @@ namespace OpenSim.Region.ClientStack.Linden
info.Add("transition",OSD.FromString("LEAVE")); info.Add("transition",OSD.FromString("LEAVE"));
agentUpdates.Add(agentID.ToString(), info); agentUpdates.Add(agentID.ToString(), info);
// foreach end
body.Add("agent_updates", agentUpdates); body.Add("agent_updates", agentUpdates);
body.Add("session_id", OSD.FromUUID(sessionID)); body.Add("session_id", OSD.FromUUID(sessionID));