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

@@ -157,8 +157,6 @@ class Api::V1::StatusesController < Api::BaseController
end
def set_quoted_status
return unless Mastodon::Feature.outgoing_quotes_enabled?
@quoted_status = Status.find(status_params[:quoted_status_id]) if status_params[:quoted_status_id].present?
authorize(@quoted_status, :quote?) if @quoted_status.present?
rescue ActiveRecord::RecordNotFound, Mastodon::NotPermittedError