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) {