Merge pull request #4780 from damoasda/localfeed-issue-4765-master
Fix #4765: Disable autoDownload for local feeds (master branch)
This commit is contained in:
commit
1a94cd12ee
|
@ -65,7 +65,7 @@ public class APDownloadAlgorithm implements AutomaticDownloadAlgorithm {
|
||||||
Iterator<FeedItem> it = candidates.iterator();
|
Iterator<FeedItem> it = candidates.iterator();
|
||||||
while (it.hasNext()) {
|
while (it.hasNext()) {
|
||||||
FeedItem item = it.next();
|
FeedItem item = it.next();
|
||||||
if (!item.isAutoDownloadable()) {
|
if (!item.isAutoDownloadable() || item.getFeed().isLocalFeed()) {
|
||||||
it.remove();
|
it.remove();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue