diff options
author | Oren Hurvitz | 2013-10-29 16:38:03 +0200 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-01-16 00:24:51 +0000 |
commit | 2d9d6fe922c99e79489b19b18ac33338012137ff (patch) | |
tree | 2a3a64542c6b321bcce759c1e954043a0d55e368 /OpenSim/Addons/OfflineIM/Remote/OfflineIMServiceRemoteConnector.cs | |
parent | In the offline message table, store the sender. (diff) | |
download | opensim-SC-2d9d6fe922c99e79489b19b18ac33338012137ff.zip opensim-SC-2d9d6fe922c99e79489b19b18ac33338012137ff.tar.gz opensim-SC-2d9d6fe922c99e79489b19b18ac33338012137ff.tar.bz2 opensim-SC-2d9d6fe922c99e79489b19b18ac33338012137ff.tar.xz |
Can delete the Offline Messages sent to/from a user.
This is useful if the user is deleted.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Addons/OfflineIM/Remote/OfflineIMServiceRemoteConnector.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Addons/OfflineIM/Remote/OfflineIMServiceRemoteConnector.cs b/OpenSim/Addons/OfflineIM/Remote/OfflineIMServiceRemoteConnector.cs index 69feb76..f6b17e5 100644 --- a/OpenSim/Addons/OfflineIM/Remote/OfflineIMServiceRemoteConnector.cs +++ b/OpenSim/Addons/OfflineIM/Remote/OfflineIMServiceRemoteConnector.cs | |||
@@ -117,6 +117,14 @@ namespace OpenSim.OfflineIM | |||
117 | return true; | 117 | return true; |
118 | } | 118 | } |
119 | 119 | ||
120 | public void DeleteMessages(UUID userID) | ||
121 | { | ||
122 | Dictionary<string, object> sendData = new Dictionary<string, object>(); | ||
123 | sendData["UserID"] = userID; | ||
124 | |||
125 | MakeRequest("DELETE", sendData); | ||
126 | } | ||
127 | |||
120 | #endregion | 128 | #endregion |
121 | 129 | ||
122 | 130 | ||