Enable link previews by default

This commit is contained in:
Beaudan Brown 2019-10-22 15:23:59 +11:00
parent 0d9c22038c
commit 5e1e70ac8c
2 changed files with 7 additions and 1 deletions

View file

@ -1235,7 +1235,7 @@
},
"linkPreviewsSettingDescription": {
"message":
"Enable local link previews (Restart for changes to take effect).",
"Enable local link previews",
"description": "Description shown for the Link Preview option "
},
"spellCheckDescription": {

View file

@ -607,6 +607,12 @@
Whisper.events.on('registration_done', async () => {
window.log.info('handling registration event');
// Enable link previews as default
storage.onready(async () => {
storage.put('linkPreviews', true);
});
// listeners
Whisper.RotateSignedPreKeyListener.init(Whisper.events, newVersion);
// window.Signal.RefreshSenderCertificate.initialize({