[Glitch] Emoji: Remove final flag

Port 85d0cdb5f7 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo authored and Claire committed 2025-10-28 22:34:14 +01:00
1 parent c43a5a1834
commit adfa407f6b
36 files changed
+102 -1110

No files matched your search

@@ -12,16 +12,8 @@ export function isProduction() {
else return import.meta.env.PROD;
}
export type Features = 'modern_emojis' | 'fasp' | 'http_message_signatures';
export type Features = 'fasp' | 'http_message_signatures';
export function isFeatureEnabled(feature: Features) {
return initialState?.features.includes(feature) ?? false;
}
export function isModernEmojiEnabled() {
try {
return isFeatureEnabled('modern_emojis');
} catch {
return false;
}
}