Remove: #429 ドメインブロックの「未ログインユーザーに非公開にする」オプション (#430)

This commit is contained in:
KMY(雪あすか) 2024-01-07 16:23:19 +09:00 committed by GitHub
parent 5f144c017c
commit ecf6f31ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 67 additions and 15 deletions

View file

@ -36,7 +36,6 @@ class Api::V1::Instances::DomainBlocksController < Api::V1::Instances::BaseContr
def set_domain_blocks
@domain_blocks = DomainBlock.with_user_facing_limitations.by_severity
@domain_blocks = @domain_blocks.filter { |block| !block.hidden_anonymous } unless user_signed_in?
end
def show_rationale_in_response?