Allow for username to be in the url on ability check

This commit is contained in:
Maurice Parker 2020-04-16 15:17:22 -05:00
parent d4b5d7bde4
commit 49734e2bd9

View File

@ -81,7 +81,9 @@ public struct TwitterFeedProvider: FeedProvider {
return .none
}
if let username = username, username == userID {
let bestUserName = username != nil ? username : urlComponents.user
if bestUserName == userID {
return .owner
}