mirror of https://github.com/tootsuite/mastodon
Fix to accept followed relayed_through_account
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 New Issue