Skip to content

Commit

Permalink
fix: feed icon from xml ignored during force refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed Nov 22, 2024
1 parent c6c71c5 commit ff4c4c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/reader/handler/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,7 @@ func RefreshFeed(store *storage.Storage, userID, feedID int64, forceRefresh bool
originalFeed.EtagHeader = responseHandler.ETag()
originalFeed.LastModifiedHeader = responseHandler.LastModified()

originalFeed.IconURL = updatedFeed.IconURL
iconChecker := icon.NewIconChecker(store, originalFeed)
if forceRefresh {
iconChecker.UpdateOrCreateFeedIcon()
Expand Down

0 comments on commit ff4c4c7

Please sign in to comment.