Remove onLaunched handler
This is now handled outside the renderer. // FREEBIE
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user