Browse Source

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

pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
86b4d5439c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/services/resolve_remote_account_service.rb

+ 1
- 1
app/services/resolve_remote_account_service.rb View File

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