diff options
author | UbitUmarov | 2017-05-05 01:39:38 +0100 |
---|---|---|
committer | UbitUmarov | 2017-05-05 01:39:38 +0100 |
commit | 9e12ef92344d43356ae276ae3a03921e26986a38 (patch) | |
tree | 034a7c9f2b474e6b836386d83932cc711a59a4a5 /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |
parent | the new options i add where actually bad idea, they would make the (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
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 |