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