Don't process new/updated RSS rules when disabled

This commit is contained in:
Vladimir Golovnev (Glassez) 2017-12-27 20:01:40 +03:00
parent e5001e8f40
commit 22bdf98617
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -424,6 +424,8 @@ bool AutoDownloader::isProcessingEnabled() const
void AutoDownloader::resetProcessingQueue()
{
m_processingQueue.clear();
if (!m_processingEnabled) return;
foreach (Article *article, Session::instance()->rootFolder()->articles()) {
if (!article->isRead() && !article->torrentUrl().isEmpty())
addJobForArticle(article);