mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Remove unneeded block check
This commit is contained in:
parent
6d98a73180
commit
f2e08ff568
@ -17,8 +17,6 @@ class ProcessInteractionService < BaseService
|
||||
domain = Addressable::URI.parse(url).host
|
||||
account = Account.find_by(username: username, domain: domain)
|
||||
|
||||
return if DomainBlock.blocked?(domain)
|
||||
|
||||
if account.nil?
|
||||
account = follow_remote_account_service.call("#{username}@#{domain}")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user