mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-19 20:59:29 +00:00
Revert "Merge upstream changes up to df72a2dbbec8173515568c02427076ebff5c2297"
This commit is contained in:
@@ -4,6 +4,8 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user