mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-28 20:06:29 +01:00
Subscribe to created folder if showing subscribed folders only
This commit is contained in:
@@ -795,6 +795,8 @@ class Core {
|
||||
Folder ifolder = istore.getFolder(folder.name);
|
||||
if (!ifolder.exists())
|
||||
ifolder.create(Folder.HOLDS_MESSAGES);
|
||||
if (subscribed_only)
|
||||
ifolder.setSubscribed(true);
|
||||
db.folder().resetFolderTbc(folder.id);
|
||||
local.put(folder.name, folder);
|
||||
sync_folders = true;
|
||||
|
||||
Reference in New Issue
Block a user