Fix empty contentEncoded

This code duplication was forgotten in #2607
This commit is contained in:
ByteHamster 2018-05-04 13:57:52 +02:00
parent e16a111a12
commit 9f0d187efd
1 changed files with 2 additions and 8 deletions

View File

@ -554,15 +554,9 @@ public class FeedMedia extends FeedFile implements Playable {
public Callable<String> loadShownotes() { public Callable<String> loadShownotes() {
return () -> { return () -> {
if (item == null) { if (item == null) {
item = DBReader.getFeedItem( item = DBReader.getFeedItem(itemID);
itemID);
} }
if (item.getContentEncoded() == null || item.getDescription() == null) { return item.loadShownotes().call();
DBReader.loadExtraInformationOfFeedItem(
item);
}
return (item.getContentEncoded() != null) ? item.getContentEncoded() : item.getDescription();
}; };
} }