migrations: also migrate subscriptions file in maildir migration
Otherwise users will be unsubscribed from all maildir folders.
This commit is contained in:
parent
cfb3136cf0
commit
67f0b864cc
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def check_user(vmail_root: Path):
|
|||
def is_maildir_related(path: Path, layout: FolderLayout) -> bool:
|
||||
if not path.is_dir():
|
||||
return False
|
||||
if path.name in ["cur", "new", "tmp"]:
|
||||
if path.name in ["cur", "new", "tmp", "subscriptions"]:
|
||||
return True
|
||||
if layout is FolderLayout.Default and path.name.startswith("."):
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue