mirror of https://github.com/M66B/FairEmail.git
Auto fix inbox
This commit is contained in:
parent
0e2b1ef865
commit
8cff6353a6
|
@ -794,6 +794,10 @@ class Core {
|
|||
db.folder().setFolderType(folder.id, type);
|
||||
else if (EntityFolder.SYSTEM.equals(folder.type) && EntityFolder.USER.equals(type))
|
||||
db.folder().setFolderType(folder.id, type);
|
||||
else if (EntityFolder.INBOX.equals(type) && !EntityFolder.INBOX.equals(folder.type)) {
|
||||
if (db.folder().getFolderByType(folder.account, EntityFolder.INBOX) == null)
|
||||
db.folder().setFolderType(folder.id, type);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue