let all clients get a group title update on create group
parent
04a50b47bf
commit
9e12ef9234
|
@ -787,7 +787,7 @@ namespace OpenSim.Groups
|
||||||
remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully");
|
remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully");
|
||||||
|
|
||||||
// Update the founder with new group information.
|
// Update the founder with new group information.
|
||||||
SendAgentGroupDataUpdate(remoteClient, false);
|
SendAgentGroupDataUpdate(remoteClient, true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
remoteClient.SendCreateGroupReply(groupID, false, reason);
|
remoteClient.SendCreateGroupReply(groupID, false, reason);
|
||||||
|
|
|
@ -901,7 +901,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||||
remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully");
|
remoteClient.SendCreateGroupReply(groupID, true, "Group created successfully");
|
||||||
|
|
||||||
// Update the founder with new group information.
|
// Update the founder with new group information.
|
||||||
SendAgentGroupDataUpdate(remoteClient, false);
|
SendAgentGroupDataUpdate(remoteClient, true);
|
||||||
|
|
||||||
return groupID;
|
return groupID;
|
||||||
}
|
}
|
||||||
|
@ -1520,12 +1520,12 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
|
||||||
lastname, activeGroupPowers, activeGroupName,
|
lastname, activeGroupPowers, activeGroupName,
|
||||||
activeGroupTitle);
|
activeGroupTitle);
|
||||||
|
|
||||||
if (tellOthers)
|
|
||||||
SendScenePresenceUpdate(agentID, activeGroupTitle);
|
|
||||||
|
|
||||||
ScenePresence sp = (ScenePresence)remoteClient.SceneAgent;
|
ScenePresence sp = (ScenePresence)remoteClient.SceneAgent;
|
||||||
if (sp != null)
|
if (sp != null)
|
||||||
sp.Grouptitle = activeGroupTitle;
|
sp.Grouptitle = activeGroupTitle;
|
||||||
|
|
||||||
|
if (tellOthers)
|
||||||
|
SendScenePresenceUpdate(agentID, activeGroupTitle);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in New Issue