diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index a524561..6667c35 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3406,6 +3406,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3406 | 3406 | ||
3407 | public void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data) | 3407 | public void SendAgentGroupDataUpdate(UUID avatarID, GroupMembershipData[] data) |
3408 | { | 3408 | { |
3409 | IEventQueue eq = this.Scene.RequestModuleInterface<IEventQueue>(); | ||
3410 | |||
3411 | // use UDP if no caps | ||
3412 | if (eq == null) | ||
3413 | { | ||
3414 | SendGroupMembership(data); | ||
3415 | } | ||
3416 | |||
3409 | OSDMap llsd = new OSDMap(3); | 3417 | OSDMap llsd = new OSDMap(3); |
3410 | OSDArray AgentData = new OSDArray(1); | 3418 | OSDArray AgentData = new OSDArray(1); |
3411 | OSDMap AgentDataMap = new OSDMap(1); | 3419 | OSDMap AgentDataMap = new OSDMap(1); |
@@ -3432,11 +3440,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3432 | llsd.Add("GroupData", GroupData); | 3440 | llsd.Add("GroupData", GroupData); |
3433 | llsd.Add("NewGroupData", NewGroupData); | 3441 | llsd.Add("NewGroupData", NewGroupData); |
3434 | 3442 | ||
3435 | IEventQueue eq = this.Scene.RequestModuleInterface<IEventQueue>(); | 3443 | eq.Enqueue(BuildEvent("AgentGroupDataUpdate", llsd), this.AgentId); |
3436 | if (eq != null) | ||
3437 | { | ||
3438 | eq.Enqueue(BuildEvent("AgentGroupDataUpdate", llsd), this.AgentId); | ||
3439 | } | ||
3440 | } | 3444 | } |
3441 | 3445 | ||
3442 | public void SendJoinGroupReply(UUID groupID, bool success) | 3446 | public void SendJoinGroupReply(UUID groupID, bool success) |