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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 27 additions and 132 deletions

View file

@ -19,7 +19,6 @@ import { PERMISSION_MANAGE_USERS, PERMISSION_MANAGE_FEDERATION } from 'mastodon/
import { IconButton } from '../../../components/icon_button';
import { Dropdown } from 'mastodon/components/dropdown_menu';
import { me } from '../../../initial_state';
import { isFeatureEnabled } from '@/mastodon/utils/environment';
import { BoostButton } from '@/mastodon/components/status/boost_button';
const messages = defineMessages({
@ -237,7 +236,7 @@ class ActionBar extends PureComponent {
}
menu.push({ text: intl.formatMessage(mutingConversation ? messages.unmuteConversation : messages.muteConversation), action: this.handleConversationMuteClick });
if (isFeatureEnabled('outgoing_quotes') && !['private', 'direct'].includes(status.get('visibility'))) {
if (!['private', 'direct'].includes(status.get('visibility'))) {
menu.push({ text: intl.formatMessage(messages.quotePolicyChange), action: this.handleQuotePolicyChange });
}
menu.push(null);