Allow modern_emojis to be enabled purely server-side (#36342)

This commit is contained in:
Echo authored and GitHub committed 2025-10-06 13:34:51 +00:00
1 parent ffac4cb05f
commit 68a36d5a57
1 file changed
+1 -4
+1 -4
View File
@@ -20,10 +20,7 @@ export function isFeatureEnabled(feature: Features) {
export function isModernEmojiEnabled() {
try {
return (
isFeatureEnabled('modern_emojis') &&
localStorage.getItem('experiments')?.split(',').includes('modern_emojis')
);
return isFeatureEnabled('modern_emojis');
} catch {
return false;
}