From 9db9489caad9b51db9a20892a0c32263f0d33faf Mon Sep 17 00:00:00 2001 From: Maurice Parker Date: Fri, 8 Jan 2021 11:44:20 -0600 Subject: [PATCH] Return the screen name as the avatar when the url is www.twitter.com --- .../Account/FeedProvider/Twitter/TwitterFeedProvider.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Account/Sources/Account/FeedProvider/Twitter/TwitterFeedProvider.swift b/Account/Sources/Account/FeedProvider/Twitter/TwitterFeedProvider.swift index 41fe50a61..9a3046103 100644 --- a/Account/Sources/Account/FeedProvider/Twitter/TwitterFeedProvider.swift +++ b/Account/Sources/Account/FeedProvider/Twitter/TwitterFeedProvider.swift @@ -45,7 +45,7 @@ public final class TwitterFeedProvider: FeedProvider { private static let userAgentHeaders = UserAgent.headers() as! [String: String] private static let dateFormat = "EEE MMM dd HH:mm:ss Z yyyy" - private static let userPaths = ["/home", "/notifications"] + private static let userPaths = ["/", "/home", "/notifications"] private static let reservedPaths = ["/search", "/explore", "/messages", "/i", "/compose", "/notifications/mentions"] private var parsingQueue = DispatchQueue(label: "TwitterFeedProvider parse queue")