diff --git a/app/src/main/java/eu/faircode/email/Core.java b/app/src/main/java/eu/faircode/email/Core.java index e2b38ca859..e1207aff93 100644 --- a/app/src/main/java/eu/faircode/email/Core.java +++ b/app/src/main/java/eu/faircode/email/Core.java @@ -162,7 +162,7 @@ class Core { " group=" + group + " retry=" + retry); - if (!ifolder.isOpen()) + if (ifolder != null && !ifolder.isOpen()) state.error(new FolderClosedException(ifolder)); // Fetch most recent copy of message