[Glitch] Allow modern_emojis to be enabled purely server-side

Port 68a36d5a57 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Echo authored and Claire committed 2025-10-08 18:17:07 +02:00
1 parent 0281768cfd
commit d5ce785267
1 file changed
+1 -4
@@ -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;
}