Skip to content
Snippets Groups Projects
Unverified Commit 86b4d543 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

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

parent c36b9cc5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment