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 KMY
parent 9a64fe852e
commit 0838f1ac8f
3 changed files with 3 additions and 2 deletions

View file

@ -216,7 +216,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