mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Add the Reddit URL being refreshed to the skip reason message.
This commit is contained in:
1 parent
80a090c5b9
commit
88aa601609
1 file changed
+5
-1
@@ -496,7 +496,11 @@ private extension LocalAccountRefresher {
|
||||
if feed.url == redditURLToRefresh {
|
||||
return (false, nil)
|
||||
}
|
||||
return (true, "Skipped — Reddit allows only one feed per refresh")
|
||||
var reason = "Skipped — Reddit allows only one feed per refresh"
|
||||
if let redditURLToRefresh {
|
||||
reason += " — refreshing \(redditURLToRefresh) this time"
|
||||
}
|
||||
return (true, reason)
|
||||
}
|
||||
|
||||
static func feedShouldBeSkippedForDisallowedHostReasons(_ feed: Feed) -> (Bool, String?) {
|
||||
|
||||
Reference in new issue
Block a user