mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
[core] add method to ConversationManager for deleting a set of messages
This commit is contained in:
@@ -44,6 +44,14 @@ public interface ConversationManager {
|
||||
*/
|
||||
boolean deleteAllMessages(ContactId c) throws DbException;
|
||||
|
||||
/**
|
||||
* Deletes the given set of messages associated with the given contact.
|
||||
*
|
||||
* @return true if all given messages could be deleted, false otherwise
|
||||
*/
|
||||
boolean deleteMessages(ContactId c, Collection<MessageId> messageIds)
|
||||
throws DbException;
|
||||
|
||||
@NotNullByDefault
|
||||
interface ConversationClient {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user