mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 10:22:35 +00:00
Edit comments.
This commit is contained in:
1 parent
8c811e75ba
commit
d7a2eb6b3d
1 file changed
+3
-2
@@ -130,11 +130,12 @@ extension LocalAccountRefresher: DownloadSessionDelegate {
|
||||
private extension LocalAccountRefresher {
|
||||
|
||||
/// These hosts will never return a feed.
|
||||
///
|
||||
/// People may still have feeds pointing to Twitter due to our prior
|
||||
/// use of the Twitter API. (Which Twitter took away.)
|
||||
static let badHosts = ["twitter.com", "www.twitter.com", "x.com", "www.x.com"]
|
||||
|
||||
/// Return true if we won’t download that feed.
|
||||
///
|
||||
/// We will never get a feed from X/Twitter, for instance.
|
||||
static func feedIsDisallowed(_ feed: WebFeed) -> Bool {
|
||||
|
||||
guard let url = URL(unicodeString: feed.url) else {
|
||||
|
||||
Reference in new issue
Block a user