0
0
Fork 0

Improve group processing (#14279)

* Fix the local group's followers collection

* Fix to accept followed relayed_through_account

* Add local delivery to the group's followers

* Fix code style

* Revert "Add local delivery to the group's followers"

This reverts commit 3237effc199772e4c4d30f19082cbc5633f56196.
This commit is contained in:
Takeshi Umeda 2020-07-15 02:05:34 +09:00 committed by GitHub
parent 6a96af4d20
commit 5c23ec2fa6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 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?