Added method for deleting metadata.

This commit is contained in:
akwizgran
2016-02-10 13:58:46 +00:00
parent 00275e260f
commit a91d500263
6 changed files with 71 additions and 3 deletions

View File

@@ -69,6 +69,9 @@ public interface DatabaseComponent {
*/
void deleteMessage(MessageId m) throws DbException;
/** Deletes any metadata associated with the given message. */
void deleteMessageMetadata(MessageId m) throws DbException;
/**
* Returns an acknowledgement for the given contact, or null if there are
* no messages to acknowledge.