mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-19 04:36:35 +00:00
Fix to accept followed relayed_through_account
This commit is contained in:
parent
74e55c6ec6
commit
c09a9b4235
|
@ -185,7 +185,7 @@ class ActivityPub::Activity
|
||||||
end
|
end
|
||||||
|
|
||||||
def followed_by_local_accounts?
|
def followed_by_local_accounts?
|
||||||
@account.passive_relationships.exists?
|
@account.passive_relationships.exists? || @options[:relayed_through_account]&.passive_relationships&.exists?
|
||||||
end
|
end
|
||||||
|
|
||||||
def requested_through_relay?
|
def requested_through_relay?
|
||||||
|
|
Loading…
Reference in a new issue