]> cat aescling's git repositories - mastodon.git/commitdiff
Remove unneeded block check
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 23 Jan 2017 16:40:23 +0000 (17:40 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 23 Jan 2017 16:40:23 +0000 (17:40 +0100)
app/services/process_interaction_service.rb

index 11ec0d2dd1699bf4a4181206f1708cd2300370e0..5f91e312718c6b77874015eaec530cefe971cbdf 100644 (file)
@@ -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