* Change: #737 tanukeyなど小規模Misskeyフォークも、対Misskey配送制限設定対象にする * Fix test * Add cache * Remove caches
This commit is contained in:
parent
ae0d35a4fe
commit
a7d9fd1e56
8 changed files with 88 additions and 42 deletions
|
@ -220,7 +220,7 @@ class StatusReachFinder
|
|||
def banned_domains_for_misskey_of_status(status)
|
||||
return [] if status.public_searchability?
|
||||
|
||||
from_info = InstanceInfo.where(software: %w(misskey calckey cherrypick sharkey)).pluck(:domain)
|
||||
from_info = InstanceInfo.where(software: InstanceInfo::INVALID_SUBSCRIPTION_SOFTWARES).pluck(:domain)
|
||||
from_domain_block = DomainBlock.where(detect_invalid_subscription: true).pluck(:domain)
|
||||
(from_info + from_domain_block).uniq
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue