Merge pull request #8141 from glassez/fix-rss

Don't process new/updated RSS rules when disabled
This commit is contained in:
Vladimir Golovnev 2017-12-28 09:08:31 +03:00 committed by GitHub
commit 87c3f5163e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);