fix youtube icons (#658)

This commit is contained in:
Athou
2014-10-27 05:23:36 +01:00
parent 165f3ed25a
commit 19964d253e
4 changed files with 12 additions and 5 deletions

View File

@@ -50,11 +50,10 @@ public class FeedService {
}
public byte[] fetchFavicon(Feed feed) {
String url = feed.getLink() != null ? feed.getLink() : feed.getUrl();
byte[] icon = null;
for (AbstractFaviconFetcher faviconFetcher : faviconFetchers) {
icon = faviconFetcher.fetch(url);
icon = faviconFetcher.fetch(feed);
if (icon != null) {
break;
}