mirror of
https://github.com/mastodon/mastodon.git
synced 2025-10-05 00:22:42 +00:00
allow modern_emojis to be enabled purely server-side
This commit is contained in:
parent
0d7af7e1fe
commit
9f4b665814
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user