mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-18 13:49:53 +01:00
Add transactional variant of getGroupCount().
This commit is contained in:
@@ -89,8 +89,7 @@ class ConversationManagerImpl implements ConversationManager {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public DeletionResult deleteMessages(ContactId c,
|
public DeletionResult deleteMessages(ContactId c,
|
||||||
Collection<MessageId> toDelete)
|
Collection<MessageId> toDelete) throws DbException {
|
||||||
throws DbException {
|
|
||||||
return db.transactionWithResult(false, txn -> {
|
return db.transactionWithResult(false, txn -> {
|
||||||
DeletionResult result = new DeletionResult();
|
DeletionResult result = new DeletionResult();
|
||||||
for (ConversationClient client : clients) {
|
for (ConversationClient client : clients) {
|
||||||
|
|||||||
Reference in New Issue
Block a user