* 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
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue