diff --git a/app/src/main/java/me/ash/reader/data/dao/ArticleDao.kt b/app/src/main/java/me/ash/reader/data/dao/ArticleDao.kt index 64b343c..7cd2418 100644 --- a/app/src/main/java/me/ash/reader/data/dao/ArticleDao.kt +++ b/app/src/main/java/me/ash/reader/data/dao/ArticleDao.kt @@ -515,8 +515,8 @@ interface ArticleDao { """ INSERT INTO article SELECT :id, :date, :title, :author, :rawDescription, - :shortDescription, :fullContent, :img, :link, :feedId, - :accountId, :isUnread, :isStarred, :isReadLater + :shortDescription, :fullContent, :link, :feedId, + :accountId, :isUnread, :isStarred, :isReadLater, :img WHERE NOT EXISTS(SELECT 1 FROM article WHERE link = :link AND accountId = :accountId) """ ) diff --git a/app/src/main/java/me/ash/reader/data/repository/RssHelper.kt b/app/src/main/java/me/ash/reader/data/repository/RssHelper.kt index 8cbeaa1..55e1b11 100644 --- a/app/src/main/java/me/ash/reader/data/repository/RssHelper.kt +++ b/app/src/main/java/me/ash/reader/data/repository/RssHelper.kt @@ -96,7 +96,8 @@ class RssHelper @Inject constructor( "RLog", "request rss:\n" + "name: ${feed.name}\n" + - "url: ${feed.url}\n" + + "feedUrl: ${feed.url}\n" + + "url: ${it.link}\n" + "title: ${it.title}\n" + "desc: ${desc}\n" + "content: ${content}\n"