about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-02-22 01:26:41 +0100
committerGitHub <noreply@github.com>2020-02-22 01:26:41 +0100
commit983ab40086da909f2c693b74ed36735aab40dbcb (patch)
treea9c68ae1c7c3e7d705ab493a417f6c42bf1c52de /app
parent89a9eeb67550360b3114a13dad528086b04769d3 (diff)
Fix previously OStatus-based accounts not being detected as ActivityPub (#13129)
Diffstat (limited to 'app')
-rw-r--r--app/services/resolve_account_service.rb2
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