diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs index 8beeb95..f1c29f6 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/EventQueue/EventQueueHelper.cs | |||
@@ -308,7 +308,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
308 | } | 308 | } |
309 | 309 | ||
310 | public static OSD ChatterBoxSessionAgentListUpdates(UUID sessionID, | 310 | public static OSD ChatterBoxSessionAgentListUpdates(UUID sessionID, |
311 | UUID agentID, bool canVoiceChat, bool isModerator, bool textMute) | 311 | UUID agentID, bool canVoiceChat, bool isModerator, bool textMute, bool isEnterorLeave) |
312 | { | 312 | { |
313 | OSDMap body = new OSDMap(); | 313 | OSDMap body = new OSDMap(); |
314 | OSDMap agentUpdates = new OSDMap(); | 314 | OSDMap agentUpdates = new OSDMap(); |
@@ -321,7 +321,13 @@ namespace OpenSim.Region.ClientStack.Linden | |||
321 | infoDetail.Add("mutes", mutes); | 321 | infoDetail.Add("mutes", mutes); |
322 | OSDMap info = new OSDMap(); | 322 | OSDMap info = new OSDMap(); |
323 | info.Add("info", infoDetail); | 323 | info.Add("info", infoDetail); |
324 | if(isEnterorLeave) | ||
325 | info.Add("transition",OSD.FromString("ENTER")); | ||
326 | else | ||
327 | info.Add("transition",OSD.FromString("LEAVE")); | ||
324 | agentUpdates.Add(agentID.ToString(), info); | 328 | agentUpdates.Add(agentID.ToString(), info); |
329 | |||
330 | |||
325 | body.Add("agent_updates", agentUpdates); | 331 | body.Add("agent_updates", agentUpdates); |
326 | body.Add("session_id", OSD.FromUUID(sessionID)); | 332 | body.Add("session_id", OSD.FromUUID(sessionID)); |
327 | body.Add("updates", new OSD()); | 333 | body.Add("updates", new OSD()); |