diff options
author | Diva Canto | 2013-07-27 15:38:56 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-27 15:38:56 -0700 |
commit | 69975763d2a735eb2696d2e27e5796a472a208ea (patch) | |
tree | 3d3454d731471148951de01a9931aa5e67d359da /OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | |
parent | Clarifications on documentation of Group configs (diff) | |
download | opensim-SC-69975763d2a735eb2696d2e27e5796a472a208ea.zip opensim-SC-69975763d2a735eb2696d2e27e5796a472a208ea.tar.gz opensim-SC-69975763d2a735eb2696d2e27e5796a472a208ea.tar.bz2 opensim-SC-69975763d2a735eb2696d2e27e5796a472a208ea.tar.xz |
Several major improvements to group (V2) chat. Specifically: handle join/drop appropriately, invitechatboxes.
The major departure from flotsam is to send only one message per destination region, as opposed to one message per group member. This reduces messaging considerably in large groups that have clusters of members in certain regions.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs index fa935cd..40a400f 100644 --- a/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/InstantMessage/MessageTransferModule.cs | |||
@@ -372,7 +372,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
372 | gim.fromAgentName = fromAgentName; | 372 | gim.fromAgentName = fromAgentName; |
373 | gim.fromGroup = fromGroup; | 373 | gim.fromGroup = fromGroup; |
374 | gim.imSessionID = imSessionID.Guid; | 374 | gim.imSessionID = imSessionID.Guid; |
375 | gim.RegionID = UUID.Zero.Guid; // RegionID.Guid; | 375 | gim.RegionID = RegionID.Guid; |
376 | gim.timestamp = timestamp; | 376 | gim.timestamp = timestamp; |
377 | gim.toAgentID = toAgentID.Guid; | 377 | gim.toAgentID = toAgentID.Guid; |
378 | gim.message = message; | 378 | gim.message = message; |
@@ -672,7 +672,7 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage | |||
672 | gim["position_x"] = msg.Position.X.ToString(); | 672 | gim["position_x"] = msg.Position.X.ToString(); |
673 | gim["position_y"] = msg.Position.Y.ToString(); | 673 | gim["position_y"] = msg.Position.Y.ToString(); |
674 | gim["position_z"] = msg.Position.Z.ToString(); | 674 | gim["position_z"] = msg.Position.Z.ToString(); |
675 | gim["region_id"] = msg.RegionID.ToString(); | 675 | gim["region_id"] = new UUID(msg.RegionID).ToString(); |
676 | gim["binary_bucket"] = Convert.ToBase64String(msg.binaryBucket,Base64FormattingOptions.None); | 676 | gim["binary_bucket"] = Convert.ToBase64String(msg.binaryBucket,Base64FormattingOptions.None); |
677 | return gim; | 677 | return gim; |
678 | } | 678 | } |