mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-30 18:54:53 +01:00
Allow for username to be in the url on ability check
This commit is contained in:
parent
d4b5d7bde4
commit
49734e2bd9
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user