Auto fix inbox

pull/152/head
M66B 6 years ago
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…
Cancel
Save