Fix old merges code

This commit is contained in:
Renato "Lond" Cerqueira 2020-12-27 12:04:11 +01:00
parent 1f47e8f1bf
commit b43c50afa8

View File

@ -16,8 +16,6 @@ class ActivityPub::ProcessAccountService < BaseService
@domain = domain @domain = domain
@collections = {} @collections = {}
return if auto_suspend?
RedisLock.acquire(lock_options) do |lock| RedisLock.acquire(lock_options) do |lock|
if lock.acquired? if lock.acquired?
@account = Account.remote.find_by(uri: @uri) if @options[:only_key] @account = Account.remote.find_by(uri: @uri) if @options[:only_key]