Subscribe to created folder if showing subscribed folders only

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