|
|
@ -1890,7 +1890,7 @@ class Core {
|
|
|
|
folder = db.folder().getFolderByName(account.id, fullName);
|
|
|
|
folder = db.folder().getFolderByName(account.id, fullName);
|
|
|
|
if (folder == null) {
|
|
|
|
if (folder == null) {
|
|
|
|
EntityFolder parent = null;
|
|
|
|
EntityFolder parent = null;
|
|
|
|
int sep = fullName.lastIndexOf(account.separator);
|
|
|
|
int sep = fullName.lastIndexOf(separator);
|
|
|
|
if (sep > 0)
|
|
|
|
if (sep > 0)
|
|
|
|
parent = db.folder().getFolderByName(account.id, fullName.substring(0, sep));
|
|
|
|
parent = db.folder().getFolderByName(account.id, fullName.substring(0, sep));
|
|
|
|
|
|
|
|
|
|
|
|