Move worker initialization to background.js

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

// FREEBIE
pull/749/head
lilia 10 years ago
parent 0ec9e691d8
commit 3e5946a12b

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

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

Loading…
Cancel
Save