Remove onLaunched handler

This is now handled outside the renderer.

// FREEBIE
This commit is contained in:
lilia 2017-04-11 17:08:29 -07:00 committed by Scott Nonnenberg
parent 83a020cc5e
commit 72c3dc286c
No known key found for this signature in database
GPG key ID: A4931C09644C654B

View file

@ -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;