1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-21 21:57:19 +00:00

Small improvement

This commit is contained in:
M66B 2018-12-31 10:39:30 +00:00
parent 07c35d7dd0
commit b486091cbf

View file

@ -2030,6 +2030,8 @@ public class ServiceSynchronize extends LifecycleService {
db.folder().setFolderType(folder.id, EntityFolder.USER);
if (EntityFolder.USER.equals(folder.type) && EntityFolder.SYSTEM.equals(type))
db.folder().setFolderType(folder.id, type);
if (EntityFolder.SYSTEM.equals(folder.type) && EntityFolder.USER.equals(type))
db.folder().setFolderType(folder.id, type);
}
}
}