Browse Source

Don't process new/updated RSS rules when disabled

adaptive-webui-19844
Vladimir Golovnev (Glassez) 7 years ago
parent
commit
22bdf98617
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  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