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/Services | |
parent | In the offline message table, store the sender. (diff) | |
download | opensim-SC_OLD-2d9d6fe922c99e79489b19b18ac33338012137ff.zip opensim-SC_OLD-2d9d6fe922c99e79489b19b18ac33338012137ff.tar.gz opensim-SC_OLD-2d9d6fe922c99e79489b19b18ac33338012137ff.tar.bz2 opensim-SC_OLD-2d9d6fe922c99e79489b19b18ac33338012137ff.tar.xz |
Can delete the Offline Messages sent to/from a user.
This is useful if the user is deleted.
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/Interfaces/IOfflineIMService.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Services/Interfaces/IOfflineIMService.cs b/OpenSim/Services/Interfaces/IOfflineIMService.cs index 2848967..588aaaf 100644 --- a/OpenSim/Services/Interfaces/IOfflineIMService.cs +++ b/OpenSim/Services/Interfaces/IOfflineIMService.cs | |||
@@ -35,7 +35,14 @@ namespace OpenSim.Services.Interfaces | |||
35 | public interface IOfflineIMService | 35 | public interface IOfflineIMService |
36 | { | 36 | { |
37 | List<GridInstantMessage> GetMessages(UUID principalID); | 37 | List<GridInstantMessage> GetMessages(UUID principalID); |
38 | |||
38 | bool StoreMessage(GridInstantMessage im, out string reason); | 39 | bool StoreMessage(GridInstantMessage im, out string reason); |
40 | |||
41 | /// <summary> | ||
42 | /// Delete messages to or from this user (or group). | ||
43 | /// </summary> | ||
44 | /// <param name="userID">A user or group ID</param> | ||
45 | void DeleteMessages(UUID userID); | ||
39 | } | 46 | } |
40 | 47 | ||
41 | public class OfflineIMDataUtils | 48 | public class OfflineIMDataUtils |