gearheads
/
mastodon
Archived
2
0
Fork 0

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

gh/stable
ThibG 2020-02-22 01:26:41 +01:00 committed by GitHub
parent 89a9eeb675
commit 983ab40086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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