Remove the outgoing_quotes feature flag, making the feature unconditional (#36130)
This commit is contained in:
1 parent
6cbc857ee0
commit
e1f7847b64
21 files changed
+27
-132
No files matched your search
@@ -12,11 +12,7 @@ export function isProduction() {
|
||||
else return import.meta.env.PROD;
|
||||
}
|
||||
|
||||
export type Features =
|
||||
| 'modern_emojis'
|
||||
| 'outgoing_quotes'
|
||||
| 'fasp'
|
||||
| 'http_message_signatures';
|
||||
export type Features = 'modern_emojis' | 'fasp' | 'http_message_signatures';
|
||||
|
||||
export function isFeatureEnabled(feature: Features) {
|
||||
return initialState?.features.includes(feature) ?? false;
|
||||
|
||||
Reference in new issue
Block a user