Add transactional variant of getGroupCount().

This commit is contained in:
akwizgran
2020-11-30 09:48:37 +00:00
parent d829c25717
commit d559e821ca
2 changed files with 20 additions and 14 deletions

View File

@@ -43,6 +43,11 @@ public interface ConversationManager {
*/
GroupCount getGroupCount(ContactId c) throws DbException;
/**
* Returns the unified group count for all private conversation messages.
*/
GroupCount getGroupCount(Transaction txn, ContactId c) throws DbException;
/**
* Deletes all messages exchanged with the given contact.
*/