mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Fixed constraint violation
This commit is contained in:
@@ -1422,6 +1422,7 @@ public class FragmentAccount extends FragmentBase {
|
||||
for (EntityFolder folder : folders) {
|
||||
EntityFolder existing = map.get(folder.name);
|
||||
if (existing == null) {
|
||||
folder.id = null;
|
||||
folder.account = account.id;
|
||||
folder.setSpecials(account);
|
||||
folder.id = db.folder().insertFolder(folder);
|
||||
|
||||
Reference in New Issue
Block a user