[Glitch] Allow modern_emojis to be enabled purely server-side
Port 68a36d5a57269e34c76305b49628a36a87c21b74 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
parent
0281768cfd
commit
d5ce785267
@ -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…
x
Reference in New Issue
Block a user