Fix previously OStatus-based accounts not being detected as ActivityPub (#13129)

th-downstream
ThibG 5 years ago committed by GitHub
parent 296828907c
commit 78c15db0fa

@ -99,7 +99,7 @@ class ResolveAccountService < BaseService
if lock.acquired?
@account = Account.find_remote(@username, @domain)
next if (@account.present? && !@account.activitypub?) || actor_json.nil?
next if actor_json.nil?
@account = ActivityPub::ProcessAccountService.new.call(@username, @domain, actor_json)
else

Loading…
Cancel
Save