Rule move: allow creation of subfolders

pull/209/head
M66B 2 years ago
parent 8dcccc9221
commit 6b14e442de

@ -639,9 +639,6 @@ public class EntityRule {
create = create.replace("$email$", email == null ? "" : email); create = create.replace("$email$", email == null ? "" : email);
create = create.replace("$domain$", domain == null ? "" : domain); 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; String name = folder.name + (folder.separator == null ? "" : folder.separator) + create;
EntityFolder created = db.folder().getFolderByName(message.account, name); EntityFolder created = db.folder().getFolderByName(message.account, name);
if (created == null) { if (created == null) {

Loading…
Cancel
Save