1
0
Fork 0
forked from gitea/nas

Bump version to 6.0 (#46)

* Bump version to 6.0

* Add cherrypick to banned target

* Fix translations
This commit is contained in:
KMY(雪あすか) 2023-09-28 17:56:21 +09:00 committed by GitHub
parent d75c8506ce
commit 322ce1fc27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 22 additions and 6 deletions

View file

@ -160,7 +160,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)).pluck(:domain)
from_info = InstanceInfo.where(software: %w(misskey calckey cherrypick)).pluck(:domain)
from_domain_block = DomainBlock.where(detect_invalid_subscription: true).pluck(:domain)
(from_info + from_domain_block).uniq
end