aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Addons/Groups/GroupsMessagingModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Addons/Groups/GroupsMessagingModule.cs')
-rw-r--r--OpenSim/Addons/Groups/GroupsMessagingModule.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Addons/Groups/GroupsMessagingModule.cs b/OpenSim/Addons/Groups/GroupsMessagingModule.cs
index e6a4765..e95db41 100644
--- a/OpenSim/Addons/Groups/GroupsMessagingModule.cs
+++ b/OpenSim/Addons/Groups/GroupsMessagingModule.cs
@@ -325,6 +325,13 @@ namespace OpenSim.Groups
325 im.RegionID = thisClient.Scene.RegionInfo.RegionID.Guid; 325 im.RegionID = thisClient.Scene.RegionInfo.RegionID.Guid;
326 } 326 }
327 327
328 if ((im.binaryBucket == null) || (im.binaryBucket.Length == 0) || ((im.binaryBucket.Length == 1 && im.binaryBucket[0] == 0)))
329 {
330 ExtendedGroupRecord groupInfo = m_groupData.GetGroupRecord(UUID.Zero.ToString(), groupID, null);
331 if (groupInfo != null)
332 im.binaryBucket = Util.StringToBytes256(groupInfo.GroupName);
333 }
334
328 // Send to self first of all 335 // Send to self first of all
329 im.toAgentID = im.fromAgentID; 336 im.toAgentID = im.fromAgentID;
330 im.fromGroup = true; 337 im.fromGroup = true;