Check if folder is open on operation

This commit is contained in:
M66B 2020-03-05 11:16:25 +01:00
parent 76ab1e3af9
commit e1ed0c9331
1 changed files with 3 additions and 0 deletions

View File

@ -162,6 +162,9 @@ class Core {
" group=" + group +
" retry=" + retry);
if (!ifolder.isOpen())
state.error(new FolderClosedException(ifolder));
// Fetch most recent copy of message
EntityMessage message = null;
if (op.message != null)