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
void AutoDownloader::resetProcessingQueue() void AutoDownloader::resetProcessingQueue()
{ {
m_processingQueue.clear(); m_processingQueue.clear();
if (!m_processingEnabled) return;
foreach (Article *article, Session::instance()->rootFolder()->articles()) { foreach (Article *article, Session::instance()->rootFolder()->articles()) {
if (!article->isRead() && !article->torrentUrl().isEmpty()) if (!article->isRead() && !article->torrentUrl().isEmpty())
addJobForArticle(article); addJobForArticle(article);

Loading…
Cancel
Save