Change: ホワイトリスト全体を有効にするオプション (#593)

This commit is contained in:
KMY(雪あすか) 2024-02-18 11:16:42 +09:00 committed by GitHub
parent dfc9f35d71
commit 1efeedf896
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 20 additions and 0 deletions

View file

@ -140,6 +140,7 @@ class ActivityPub::ProcessAccountService < BaseService
end
def blocking_new_account?
return false unless Setting.hold_remote_new_accounts
return false if permit_new_account_domains.blank?
permit_new_account_domains.exclude?(@domain)