aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2017-05-05 01:39:38 +0100
committerUbitUmarov2017-05-05 01:39:38 +0100
commit9e12ef92344d43356ae276ae3a03921e26986a38 (patch)
tree034a7c9f2b474e6b836386d83932cc711a59a4a5 /OpenSim
parent the new options i add where actually bad idea, they would make the (diff)
downloadopensim-SC_OLD-9e12ef92344d43356ae276ae3a03921e26986a38.zip
opensim-SC_OLD-9e12ef92344d43356ae276ae3a03921e26986a38.tar.gz
opensim-SC_OLD-9e12ef92344d43356ae276ae3a03921e26986a38.tar.bz2
opensim-SC_OLD-9e12ef92344d43356ae276ae3a03921e26986a38.tar.xz
let all clients get a group title update on create group
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Addons/Groups/GroupsModule.cs2
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs8
2 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Addons/Groups/GroupsModule.cs b/OpenSim/Addons/Groups/GroupsModule.cs
index 0e3a172..5b76e0a 100644
--- a/OpenSim/Addons/Groups/GroupsModule.cs
+++ b/OpenSim/Addons/Groups/GroupsModule.cs
@@ -787,7 +787,7 @@ namespace OpenSim.Groups
787 remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully"); 787 remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully");
788 788
789 // Update the founder with new group information. 789 // Update the founder with new group information.
790 SendAgentGroupDataUpdate(remoteClient, false); 790 SendAgentGroupDataUpdate(remoteClient, true);
791 } 791 }
792 else 792 else
793 remoteClient.SendCreateGroupReply(groupID, false, reason); 793 remoteClient.SendCreateGroupReply(groupID, false, reason);
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
index d52a1d5..a39b32e 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs
@@ -901,7 +901,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
901 remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully"); 901 remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully");
902 902
903 // Update the founder with new group information. 903 // Update the founder with new group information.
904 SendAgentGroupDataUpdate(remoteClient, false); 904 SendAgentGroupDataUpdate(remoteClient, true);
905 905
906 return groupID; 906 return groupID;
907 } 907 }
@@ -1520,12 +1520,12 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
1520 lastname, activeGroupPowers, activeGroupName, 1520 lastname, activeGroupPowers, activeGroupName,
1521 activeGroupTitle); 1521 activeGroupTitle);
1522 1522
1523 if (tellOthers)
1524 SendScenePresenceUpdate(agentID, activeGroupTitle);
1525
1526 ScenePresence sp = (ScenePresence)remoteClient.SceneAgent; 1523 ScenePresence sp = (ScenePresence)remoteClient.SceneAgent;
1527 if (sp != null) 1524 if (sp != null)
1528 sp.Grouptitle = activeGroupTitle; 1525 sp.Grouptitle = activeGroupTitle;
1526
1527 if (tellOthers)
1528 SendScenePresenceUpdate(agentID, activeGroupTitle);
1529 } 1529 }
1530 1530
1531 #endregion 1531 #endregion