Add transactional variant of getGroupCount().

This commit is contained in:
akwizgran
2020-11-30 09:48:37 +00:00
committed by Torsten Grote
parent 30261b0dcf
commit 47db28a738

View File

@@ -89,8 +89,7 @@ class ConversationManagerImpl implements ConversationManager {
@Override
public DeletionResult deleteMessages(ContactId c,
Collection<MessageId> toDelete)
throws DbException {
Collection<MessageId> toDelete) throws DbException {
return db.transactionWithResult(false, txn -> {
DeletionResult result = new DeletionResult();
for (ConversationClient client : clients) {