mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-17 04:32:22 +00:00
This commit is contained in:
parent
c36b9cc5a6
commit
86b4d5439c
|
@ -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…
Reference in a new issue