Enable autoConvertEmoji by default

This commit is contained in:
Fedor Indutny 2024-02-06 06:29:51 -08:00 committed by GitHub
parent 9a283909b0
commit a70ae1060d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 9 deletions

View file

@ -978,14 +978,6 @@ export async function startApp(): Promise<void> {
} }
} }
if (
window.storage.get('autoConvertEmoji') === undefined &&
newVersion &&
!lastVersion
) {
await window.storage.put('autoConvertEmoji', true);
}
setAppLoadingScreenMessage( setAppLoadingScreenMessage(
window.i18n('icu:optimizingApplication'), window.i18n('icu:optimizingApplication'),
window.i18n window.i18n

View file

@ -370,7 +370,7 @@ export function createIPCEvents(
window.storage.get('auto-download-update', true), window.storage.get('auto-download-update', true),
setAutoDownloadUpdate: value => setAutoDownloadUpdate: value =>
window.storage.put('auto-download-update', value), window.storage.put('auto-download-update', value),
getAutoConvertEmoji: () => window.storage.get('autoConvertEmoji', false), getAutoConvertEmoji: () => window.storage.get('autoConvertEmoji', true),
setAutoConvertEmoji: value => window.storage.put('autoConvertEmoji', value), setAutoConvertEmoji: value => window.storage.put('autoConvertEmoji', value),
getSentMediaQualitySetting: () => getSentMediaQualitySetting: () =>
window.storage.get('sent-media-quality', 'standard'), window.storage.get('sent-media-quality', 'standard'),