mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Enable link previews by default
This commit is contained in:
parent
0d9c22038c
commit
5e1e70ac8c
2 changed files with 7 additions and 1 deletions
|
@ -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": {
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Reference in a new issue