Set feed.lastCheckDate on initial download.

This commit is contained in:
Brent Simmons committed 2025-10-17 11:36:27 -07:00
1 parent f197b1d9a1
commit adae8b41a8
2 files changed
+3 -1

No files matched your search

@@ -642,7 +642,8 @@ private extension CloudKitAccountDelegate {
InitialFeedDownloader.download(url) { parsedFeed, _, response, _ in
self.syncProgress.completeTask()
feed.lastCheckDate = Date()
if let parsedFeed {
// Save conditional GET info so that first refresh uses conditional GET.
if let httpResponse = response as? HTTPURLResponse,
@@ -246,6 +246,7 @@ private extension LocalAccountDelegate {
if let parsedFeed {
let feed = account.createWebFeed(with: nil, url: url.absoluteString, webFeedID: url.absoluteString, homePageURL: nil)
feed.lastCheckDate = Date()
// Save conditional GET info so that first refresh uses conditional GET.
if let httpResponse = response as? HTTPURLResponse,