fix(rss): fetch all articles

This commit is contained in:
Ash 2024-08-09 16:40:57 +08:00
parent b46f70dec5
commit c57e9e287f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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) {