1
0
Fork 0
forked from gitea/nas

Add: Sharkeyをスタンプ利用可能なサーバーに追加 (#345)

This commit is contained in:
KMY(雪あすか) 2023-12-11 14:02:44 +09:00 committed by GitHub
parent 0e32b3e7e6
commit 709e19cd1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -218,7 +218,7 @@ class StatusReachFinder
return [] if status.public_searchability?
return [] unless (status.public_unlisted_visibility? && status.account.user&.setting_reject_public_unlisted_subscription) || (status.unlisted_visibility? && status.account.user&.setting_reject_unlisted_subscription)
from_info = InstanceInfo.where(software: %w(misskey calckey cherrypick)).pluck(:domain)
from_info = InstanceInfo.where(software: %w(misskey calckey cherrypick sharkey)).pluck(:domain)
from_domain_block = DomainBlock.where(detect_invalid_subscription: true).pluck(:domain)
(from_info + from_domain_block).uniq
end