mirror of
https://github.com/kikobar/mastodon.git
synced 2024-12-27 08:14:25 +00:00
Fix previously OStatus-based accounts not being detected as ActivityPub (#13129)
This commit is contained in:
parent
89a9eeb675
commit
983ab40086
|
@ -99,7 +99,7 @@ class ResolveAccountService < BaseService
|
||||||
if lock.acquired?
|
if lock.acquired?
|
||||||
@account = Account.find_remote(@username, @domain)
|
@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)
|
@account = ActivityPub::ProcessAccountService.new.call(@username, @domain, actor_json)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue