Rule move: allow creation of subfolders

This commit is contained in:
M66B 2022-09-16 16:04:52 +02:00
parent 8dcccc9221
commit 6b14e442de
1 changed files with 0 additions and 3 deletions

View File

@ -639,9 +639,6 @@ public class EntityRule {
create = create.replace("$email$", email == null ? "" : email);
create = create.replace("$domain$", domain == null ? "" : domain);
if (folder.separator != null)
create = create.replace(folder.separator, '_');
String name = folder.name + (folder.separator == null ? "" : folder.separator) + create;
EntityFolder created = db.folder().getFolderByName(message.account, name);
if (created == null) {