Remove: #429 ドメインブロックの「未ログインユーザーに非公開にする」オプション
This commit is contained in:
parent
06123147d5
commit
267e9cbcc8
6 changed files with 4 additions and 13 deletions
|
@ -26,6 +26,5 @@ class Api::V1::Instances::DomainBlocksController < Api::BaseController
|
|||
|
||||
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
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue