Remove: #609 ローカルユーザー設定から購読許可を削除 (#782)

* #609 ローカルユーザー設定から購読許可を削除

* Fix test

* Fix test
This commit is contained in:
KMY(雪あすか) 2024-07-31 13:01:36 +09:00 committed by GitHub
parent ec60b68608
commit 0c37295624
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 34 additions and 146 deletions

View file

@ -242,17 +242,6 @@ class ActivityPub::TagManager
end
end
def subscribable_by(account)
case account.subscription_policy
when :allow
[COLLECTIONS[:public]]
when :followers_only
[account_followers_url(account)]
else
[]
end
end
def searchable_by(status)
searchable_by =
case status.compute_searchability_activitypub