Add transactional variant of getGroupCount().

This commit is contained in:
akwizgran
2021-04-13 08:45:57 -03:00
committed by Torsten Grote
parent 96a7e3c425
commit 8488499da6
@@ -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) {