Dispatch NOOP commands on open folders only.
This commit is contained in:
parent
477e90ffba
commit
c14be7ec9c
@ -198,7 +198,8 @@ void IMAPStore::noop()
|
||||
for (std::list <IMAPFolder*>::iterator it = m_folders.begin() ;
|
||||
it != m_folders.end() ; ++it)
|
||||
{
|
||||
(*it)->noop();
|
||||
if ((*it)->isOpen())
|
||||
(*it)->noop();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user