mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +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());
|
Log.i("Delete local count=" + local.size());
|
||||||
for (String name : local.keySet()) {
|
for (String name : local.keySet()) {
|
||||||
EntityFolder folder = local.get(name);
|
EntityFolder folder = local.get(name);
|
||||||
|
if (EntityFolder.INBOX.equals(folder.type))
|
||||||
|
continue;
|
||||||
List<EntityFolder> childs = parentFolders.get(name);
|
List<EntityFolder> childs = parentFolders.get(name);
|
||||||
if (EntityFolder.USER.equals(folder.type) ||
|
if (EntityFolder.USER.equals(folder.type) ||
|
||||||
childs == null || childs.size() == 0) {
|
childs == null || childs.size() == 0) {
|
||||||
|
|
Loading…
Reference in a new issue