mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 20:29:52 +01:00
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:
@@ -150,7 +150,7 @@ class CreateGroupControllerImpl extends ContactSelectorControllerImpl
|
|||||||
ResultExceptionHandler<Void, DbException> handler) {
|
ResultExceptionHandler<Void, DbException> handler) {
|
||||||
runOnDbThread(() -> {
|
runOnDbThread(() -> {
|
||||||
try {
|
try {
|
||||||
db.transaction(true, txn -> {
|
db.transaction(false, txn -> {
|
||||||
LocalAuthor localAuthor =
|
LocalAuthor localAuthor =
|
||||||
identityManager.getLocalAuthor(txn);
|
identityManager.getLocalAuthor(txn);
|
||||||
List<InvitationContext> contexts =
|
List<InvitationContext> contexts =
|
||||||
|
|||||||
Reference in New Issue
Block a user