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

lolsob-rspec
Eugen Rochko 2017-12-09 01:24:47 +01:00 committed by GitHub
parent 46cce9ee4b
commit 856e8465ea
1 changed files with 1 additions and 1 deletions

View File

@ -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