miniflux / v2

Minimalist and opinionated feed reader
https://miniflux.app
Apache License 2.0
6.97k stars 728 forks source link

fix: feed icon from xml ignored during force refresh #2956

Open gabe565 opened 7 hours ago

gabe565 commented 7 hours ago

2871 was a huge improvement to the handling of feed icons, but I've found a bug. When force refreshing, the icon defined in a feed's XML is ignored. This is because the icon URL is not persisted, resulting in originalFeed.IconURL always being an empty string. This PR fixes this by assigning the value from updatedFeed.IconURL before refreshing the icon.

Do you follow the guidelines?