Move setReadFlag() from ConversationClient to ConversationManager

This commit is contained in:
Sebastian Kürten
2021-03-23 06:41:37 +01:00
committed by Torsten Grote
parent 0bf10a827f
commit a923c1151c
9 changed files with 30 additions and 28 deletions

View File

@@ -47,6 +47,9 @@ public interface ConversationManager {
*/
GroupCount getGroupCount(Transaction txn, ContactId c) throws DbException;
void setReadFlag(GroupId g, MessageId m, boolean read)
throws DbException;
/**
* Returns a timestamp for an outgoing message, which is later than the
* timestamp of any message in the conversation with the given contact.
@@ -83,9 +86,6 @@ public interface ConversationManager {
GroupCount getGroupCount(Transaction txn, ContactId c)
throws DbException;
void setReadFlag(GroupId g, MessageId m, boolean read)
throws DbException;
/**
* Deletes all messages associated with the given contact.
*/