From 72c3dc286c9c2adbdc48d0348d52ea843a93c0eb Mon Sep 17 00:00:00 2001 From: lilia Date: Tue, 11 Apr 2017 17:08:29 -0700 Subject: [PATCH] Remove onLaunched handler This is now handled outside the renderer. // FREEBIE --- js/background.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/js/background.js b/js/background.js index ba1507db88f5..fdf5ccccf8d4 100644 --- a/js/background.js +++ b/js/background.js @@ -27,18 +27,6 @@ getAccountManager().refreshPreKeys(); }); - extension.onLaunched(function() { - console.log('extension launched'); - storage.onready(function() { - if (Whisper.Registration.everDone()) { - openInbox(); - } - if (!Whisper.Registration.isDone()) { - extension.install(); - } - }); - }); - var SERVER_URL = env.SERVER_URL; var SERVER_PORTS = [80, 4433, 8443]; var messageReceiver;