Skip to content
Snippets Groups Projects
Commit f2e08ff5 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Remove unneeded block check

parent 6d98a731
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment