mirror of https://github.com/Ashinch/ReadYou.git
fix(rss): fetch all articles
This commit is contained in:
parent
b46f70dec5
commit
c57e9e287f
|
@ -177,7 +177,7 @@ abstract class AbstractRssRepository(
|
|||
|
||||
private suspend fun syncFeed(feed: Feed, preDate: Date = Date()): FeedWithArticle {
|
||||
val latest = articleDao.queryLatestByFeedId(context.currentAccountId, feed.id)
|
||||
val articles = rssHelper.queryRssXml(feed, latest?.link, preDate)
|
||||
val articles = rssHelper.queryRssXml(feed, "", preDate)
|
||||
if (feed.icon == null) {
|
||||
val iconLink = rssHelper.queryRssIconLink(feed.url)
|
||||
if (iconLink != null) {
|
||||
|
|
Loading…
Reference in New Issue