Browse Source

Merge pull request #8141 from glassez/fix-rss

Don't process new/updated RSS rules when disabled
adaptive-webui-19844
Vladimir Golovnev 7 years ago committed by GitHub
parent
commit
87c3f5163e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/base/rss/rss_autodownloader.cpp

2
src/base/rss/rss_autodownloader.cpp

@ -424,6 +424,8 @@ bool AutoDownloader::isProcessingEnabled() const @@ -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);

Loading…
Cancel
Save