aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorMelanie Thielker2010-05-04 23:45:59 +0200
committerMelanie2010-05-04 21:26:10 +0100
commit3761f7997134f3515421e9cf19ebb775f296bef2 (patch)
tree7f838c7164b2fcc8ff2658a1c8933868cec59d60 /OpenSim/Region/CoreModules/Avatar
parentmake the events more useful by providing the source region (diff)
downloadopensim-SC-3761f7997134f3515421e9cf19ebb775f296bef2.zip
opensim-SC-3761f7997134f3515421e9cf19ebb775f296bef2.tar.gz
opensim-SC-3761f7997134f3515421e9cf19ebb775f296bef2.tar.bz2
opensim-SC-3761f7997134f3515421e9cf19ebb775f296bef2.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);