mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Allow for username to be in the url on ability check
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user