Move worker initialization to background.js

Not sure why I put it in panel controller. Probably an oversight.

// FREEBIE
This commit is contained in:
lilia 2015-09-01 16:56:17 -07:00
parent 0ec9e691d8
commit 3e5946a12b
2 changed files with 2 additions and 2 deletions

View file

@ -28,6 +28,8 @@
appWindow.close();
});
textsecure.protocol_wrapper.startWorker();
storage.fetch();
storage.onready(function() {
var messageReceiver;

View file

@ -21,8 +21,6 @@
window.Whisper = window.Whisper || {};
textsecure.protocol_wrapper.startWorker();
var conversations = new Whisper.ConversationCollection();
window.inbox = new Whisper.ConversationCollection([], {