diff --git a/Mac/AppDelegate.swift b/Mac/AppDelegate.swift index c355555b3..e337d1a29 100644 --- a/Mac/AppDelegate.swift +++ b/Mac/AppDelegate.swift @@ -965,16 +965,18 @@ internal extension AppDelegate { var twitterIsActive: Bool = false AccountManager.shared.accounts.forEach({ account in - account.flattenedWebFeeds().forEach({ webfeed in - guard let components = URLComponents(string: webfeed.url), - let host = components.host else { - return - } - if host == "twitter.com" { - twitterIsActive = true - return - } - }) + if account.type == .cloudKit || account.type == .onMyMac { + account.flattenedWebFeeds().forEach({ webfeed in + guard let components = URLComponents(string: webfeed.url), + let host = components.host else { + return + } + if host == "twitter.com" { + twitterIsActive = true + return + } + }) + } }) if twitterIsActive { showTwitterDeprecationAlert()