aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorMelanie Thielker2010-05-04 23:45:59 +0200
committerMelanie Thielker2010-05-04 23:45:59 +0200
commit49efec2ef17ece206f73acf1665bf973a6204b87 (patch)
tree2c962789ec6d2059267b8494b18d42187b4805bd /OpenSim/Region/CoreModules/Avatar
parentmake the events more useful by providing the source region (diff)
downloadopensim-SC-49efec2ef17ece206f73acf1665bf973a6204b87.zip
opensim-SC-49efec2ef17ece206f73acf1665bf973a6204b87.tar.gz
opensim-SC-49efec2ef17ece206f73acf1665bf973a6204b87.tar.bz2
opensim-SC-49efec2ef17ece206f73acf1665bf973a6204b87.tar.xz
Strip estate message sending out from the estate management module and
the dialog module. Convert it to an event on the estate module interface. The old implementation did the same as message to region, a button that is right next to it on the UI. This implementation prevented people from adding a more sane one in a module.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs b/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs
index c31266c..da38ede 100644
--- a/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Dialog/DialogModule.cs
@@ -132,14 +132,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Dialog
132 sp.ControllingClient.SendLoadURL(objectName, objectID, ownerID, groupOwned, message, url); 132 sp.ControllingClient.SendLoadURL(objectName, objectID, ownerID, groupOwned, message, url);
133 } 133 }
134 134
135 public void SendNotificationToUsersInEstate(
136 UUID fromAvatarID, string fromAvatarName, string message)
137 {
138 // TODO: This does not yet do what it says on the tin - it only sends the message to users in the same
139 // region as the sending avatar.
140 SendNotificationToUsersInRegion(fromAvatarID, fromAvatarName, message);
141 }
142
143 public void SendTextBoxToUser(UUID avatarid, string message, int chatChannel, string name, UUID objectid, UUID ownerid) 135 public void SendTextBoxToUser(UUID avatarid, string message, int chatChannel, string name, UUID objectid, UUID ownerid)
144 { 136 {
145 UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, ownerid); 137 UserAccount account = m_scene.UserAccountService.GetUserAccount(m_scene.RegionInfo.ScopeID, ownerid);