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

main
Eugen Rochko 7 years ago committed by GitHub
parent c36b9cc5a6
commit 86b4d5439c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save