mirror of https://github.com/mastodon/mastodon
Fix to accept followed relayed_through_account
This commit is contained in:
parent
74e55c6ec6
commit
c09a9b4235
|
@ -185,7 +185,7 @@ class ActivityPub::Activity
|
|||
end
|
||||
|
||||
def followed_by_local_accounts?
|
||||
@account.passive_relationships.exists?
|
||||
@account.passive_relationships.exists? || @options[:relayed_through_account]&.passive_relationships&.exists?
|
||||
end
|
||||
|
||||
def requested_through_relay?
|
||||
|
|
Loading…
Reference in New Issue