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
1 changed files with 1 additions and 1 deletions

View File

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