Change: #737 tanukeyなど小規模Misskeyフォークも、対Misskey配送制限設定対象にする (#823)

* Change: #737 tanukeyなど小規模Misskeyフォークも、対Misskey配送制限設定対象にする

* Fix test

* Add cache

* Remove caches
This commit is contained in:
KMY(雪あすか) 2024-08-28 17:36:27 +09:00 committed by GitHub
parent ae0d35a4fe
commit a7d9fd1e56
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 88 additions and 42 deletions

View file

@ -27,9 +27,6 @@ module FollowHelper
def proxyable_software?(account)
return false if account.local?
info = InstanceInfo.find_by(domain: account.domain)
return false if info.nil?
%w(misskey calckey firefish meisskey cherrypick sharkey).include?(info.software)
InstanceInfo.proxy_account_software?(account.domain)
end
end