Remove searchability filter in antenna
This commit is contained in:
parent
e45b78c10e
commit
bb7fa1d060
2 changed files with 1 additions and 2 deletions
|
@ -131,7 +131,6 @@ class FanOutOnWriteService < BaseService
|
||||||
antennas.in_batches do |ans|
|
antennas.in_batches do |ans|
|
||||||
ans.each do |antenna|
|
ans.each do |antenna|
|
||||||
next if !antenna.enabled?
|
next if !antenna.enabled?
|
||||||
next if antenna.keywords.any? && !([nil, :public].include?(@status.searchability&.to_sym))
|
|
||||||
next if antenna.keywords.any? && !antenna.keywords.any? { |keyword| @status.text.include?(keyword) }
|
next if antenna.keywords.any? && !antenna.keywords.any? { |keyword| @status.text.include?(keyword) }
|
||||||
next if antenna.exclude_keywords&.any? { |keyword| @status.text.include?(keyword) }
|
next if antenna.exclude_keywords&.any? { |keyword| @status.text.include?(keyword) }
|
||||||
next if antenna.exclude_accounts&.include?(@status.account_id)
|
next if antenna.exclude_accounts&.include?(@status.account_id)
|
||||||
|
|
|
@ -955,7 +955,7 @@ ja:
|
||||||
accounts_hint: ローカルアカウントの場合は「@info」、リモートアカウントの場合は「@info@example.com」の形式で指定します。サーバーが認識していないアカウントは保存時に自動的に削除されます。
|
accounts_hint: ローカルアカウントの場合は「@info」、リモートアカウントの場合は「@info@example.com」の形式で指定します。サーバーが認識していないアカウントは保存時に自動的に削除されます。
|
||||||
accounts_raw: 絞り込むアカウント
|
accounts_raw: 絞り込むアカウント
|
||||||
available: 有効
|
available: 有効
|
||||||
description: アンテナは、サーバーが認識した全ての公開・ローカル公開投稿のうち、検索許可が「公開」または明示的に設定されていないもの(検索許可システムに対応していないサーバーからの投稿)、かつ購読を拒否していないすべてのアカウントからの投稿が対象です。検出された投稿は、指定したリストに追加されます。
|
description: アンテナは、サーバーが認識した全ての公開・ローカル公開投稿のうち、購読を拒否していないすべてのアカウントからの投稿が対象です。検出された投稿は、指定したリストに追加されます。
|
||||||
domains_hint: ドメインとは、アカウントIDやサイトのURLのうち「kmy.blue」「example.com」に該当する部分です
|
domains_hint: ドメインとは、アカウントIDやサイトのURLのうち「kmy.blue」「example.com」に該当する部分です
|
||||||
domains_raw: 絞り込むドメイン
|
domains_raw: 絞り込むドメイン
|
||||||
exclude_accounts_raw: 除外するアカウント
|
exclude_accounts_raw: 除外するアカウント
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue