allow modern_emojis to be enabled purely server-side

This commit is contained in:
ChaosExAnima 2025-10-02 17:24:23 +02:00
parent 0d7af7e1fe
commit 9f4b665814
No known key found for this signature in database
GPG Key ID: 8F2B333100FB6117

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;
}