mirror of https://github.com/M66B/FairEmail.git
Subscribe to created folder if showing subscribed folders only
This commit is contained in:
parent
6b34b64d10
commit
fcd8bc6700
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue