mirror of https://github.com/M66B/FairEmail.git
Fixed constraint violation
This commit is contained in:
parent
8d84b641c9
commit
fd22d9908e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue