Create group invitation with read-write transaction

because the AutoDeleteManager needs to change the DB
and otherwise crashes.

Closes #1863
This commit is contained in:
Torsten Grote
2021-01-11 09:51:47 -03:00
committed by akwizgran
parent e8428df700
commit 7682bf9553

View File

@@ -150,7 +150,7 @@ class CreateGroupControllerImpl extends ContactSelectorControllerImpl
ResultExceptionHandler<Void, DbException> handler) {
runOnDbThread(() -> {
try {
db.transaction(true, txn -> {
db.transaction(false, txn -> {
LocalAuthor localAuthor =
identityManager.getLocalAuthor(txn);
List<InvitationContext> contexts =