Can delete the Offline Messages sent to/from a user.

This is useful if the user is deleted.
This commit is contained in:
Oren Hurvitz
2013-10-29 16:38:03 +02:00
committed by Justin Clark-Casey (justincc)
parent 46c2791fe2
commit 2d9d6fe922
5 changed files with 44 additions and 0 deletions

View File

@@ -117,6 +117,14 @@ namespace OpenSim.OfflineIM
return true;
}
public void DeleteMessages(UUID userID)
{
Dictionary<string, object> sendData = new Dictionary<string, object>();
sendData["UserID"] = userID;
MakeRequest("DELETE", sendData);
}
#endregion