Added fail safe

pull/207/head
M66B 3 years ago
parent baa2bdcdaf
commit d5f6201cd4

@ -2178,6 +2178,7 @@ class Core {
if (folder.tbc != null) {
try {
// Prefix folder with namespace
try {
Folder[] ns = istore.getPersonalNamespaces();
if (ns != null && ns.length == 1) {
String n = ns[0].getFullName();
@ -2190,6 +2191,9 @@ class Core {
}
}
}
} catch (MessagingException ex) {
Log.w(ex);
}
EntityLog.log(context, folder.name + " creating");
Folder ifolder = istore.getFolder(folder.name);

Loading…
Cancel
Save