logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f2e08ff56855a2b14567f6218900823664a0ee2c
parent: 6d98a731803eb37ff36f60ff004acfc4c27ae37b
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Mon, 23 Jan 2017 17:40:23 +0100

Remove unneeded block check

Diffstat:

Mapp/services/process_interaction_service.rb2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/app/services/process_interaction_service.rb b/app/services/process_interaction_service.rb @@ -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