Fix to accept followed relayed_through_account

This commit is contained in:
noellabo 2020-07-09 06:40:05 +09:00
parent 74e55c6ec6
commit c09a9b4235

View file

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