Fix #5926 - Do not downgrade to OStatus once ActivityPub is known (#5929)

th-downstream
Eugen Rochko 7 years ago committed by GitHub
parent 46cce9ee4b
commit 856e8465ea

@ -44,7 +44,7 @@ class ResolveRemoteAccountService < BaseService
if lock.acquired?
@account = Account.find_remote(@username, @domain)
if activitypub_ready?
if activitypub_ready? || @account&.activitypub?
handle_activitypub
else
handle_ostatus

Loading…
Cancel
Save