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