diff options
author | ThibG <thib@sitedethib.com> | 2020-02-22 01:26:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-22 01:26:41 +0100 |
commit | 983ab40086da909f2c693b74ed36735aab40dbcb (patch) | |
tree | a9c68ae1c7c3e7d705ab493a417f6c42bf1c52de /app/services | |
parent | 89a9eeb67550360b3114a13dad528086b04769d3 (diff) |
Fix previously OStatus-based accounts not being detected as ActivityPub (#13129)
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/resolve_account_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/resolve_account_service.rb b/app/services/resolve_account_service.rb index 12e6544a0..1ad9ed407 100644 --- a/app/services/resolve_account_service.rb +++ b/app/services/resolve_account_service.rb @@ -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 |