mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-06 12:18:26 +00:00
Allow for username to be in the url on ability check
This commit is contained in:
1 parent
d4b5d7bde4
commit
49734e2bd9
1 file changed
+3
-1
@@ -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