From 76cd650577165d6312f4e48dfdc5d6e68752e4af Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 26 Apr 2017 12:12:08 -0700 Subject: [PATCH] Restore missing contactsync listeners Fix installer getting stuck on "Generating Keys" // FREEBIE --- js/background.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/js/background.js b/js/background.js index 1579b8f67..aede0192d 100644 --- a/js/background.js +++ b/js/background.js @@ -86,6 +86,16 @@ Whisper.events.on('reconnectTimer', function() { appView.inboxView.networkStatusView.setSocketReconnectInterval(60000); }); + Whisper.events.on('contactsync', function() { + if (appView.installView) { + appView.openInbox(); + } + }); + Whisper.events.on('contactsync:begin', function() { + if (appView.installView && appView.installView.showSync) { + appView.installView.showSync(); + } + }); Whisper.Notifications.on('click', function(conversation) { if (conversation) {