2
0

Remove the outgoing_quotes feature flag, making the feature unconditional (#36130)

This commit is contained in:
Claire
2025-09-24 10:58:08 +02:00
committed by GitHub
parent 6cbc857ee0
commit e1f7847b64
21 changed files with 27 additions and 132 deletions

View File

@@ -4,8 +4,6 @@ module Api::InteractionPoliciesConcern
extend ActiveSupport::Concern
def quote_approval_policy
return nil unless Mastodon::Feature.outgoing_quotes_enabled?
case status_params[:quote_approval_policy].presence || current_user.setting_default_quote_policy
when 'public'
Status::QUOTE_APPROVAL_POLICY_FLAGS[:public] << 16