mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 16:28:59 +00:00
Fix Performance/DeletePrefix cop (#24796)
This commit is contained in:
@@ -57,7 +57,7 @@ class WebfingerResource
|
||||
end
|
||||
|
||||
def resource_without_acct_string
|
||||
resource.gsub(/\Aacct:/, '')
|
||||
resource.delete_prefix('acct:')
|
||||
end
|
||||
|
||||
def local_username
|
||||
|
||||
Reference in New Issue
Block a user