mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Fixed folder types
This commit is contained in:
@@ -2025,10 +2025,10 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
|
||||
db.folder().setFolderLevel(folder.id, level);
|
||||
|
||||
// Compatibility
|
||||
if ("Inbox_sub".equals(folder.type))
|
||||
db.folder().setFolderType(folder.id, EntityFolder.USER);
|
||||
else if (EntityFolder.USER.equals(folder.type) &&
|
||||
type != null && !EntityFolder.USER.equals(type))
|
||||
if (EntityFolder.USER.equals(folder.type) && EntityFolder.SYSTEM.equals(type))
|
||||
db.folder().setFolderType(folder.id, type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user