mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 02:37:16 +00:00
Always keep the inbox
This commit is contained in:
parent
c2ac760c29
commit
7094743d23
1 changed files with 2 additions and 0 deletions
|
@ -2326,6 +2326,8 @@ class Core {
|
|||
Log.i("Delete local count=" + local.size());
|
||||
for (String name : local.keySet()) {
|
||||
EntityFolder folder = local.get(name);
|
||||
if (EntityFolder.INBOX.equals(folder.type))
|
||||
continue;
|
||||
List<EntityFolder> childs = parentFolders.get(name);
|
||||
if (EntityFolder.USER.equals(folder.type) ||
|
||||
childs == null || childs.size() == 0) {
|
||||
|
|
Loading…
Reference in a new issue