Fix old merges code
This commit is contained in:
parent
1f47e8f1bf
commit
b43c50afa8
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user