Move worker initialization to background.js
Not sure why I put it in panel controller. Probably an oversight. // FREEBIE
This commit is contained in:
parent
0ec9e691d8
commit
3e5946a12b
2 changed files with 2 additions and 2 deletions
|
@ -28,6 +28,8 @@
|
||||||
appWindow.close();
|
appWindow.close();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
textsecure.protocol_wrapper.startWorker();
|
||||||
|
|
||||||
storage.fetch();
|
storage.fetch();
|
||||||
storage.onready(function() {
|
storage.onready(function() {
|
||||||
var messageReceiver;
|
var messageReceiver;
|
||||||
|
|
|
@ -21,8 +21,6 @@
|
||||||
|
|
||||||
window.Whisper = window.Whisper || {};
|
window.Whisper = window.Whisper || {};
|
||||||
|
|
||||||
textsecure.protocol_wrapper.startWorker();
|
|
||||||
|
|
||||||
var conversations = new Whisper.ConversationCollection();
|
var conversations = new Whisper.ConversationCollection();
|
||||||
|
|
||||||
window.inbox = new Whisper.ConversationCollection([], {
|
window.inbox = new Whisper.ConversationCollection([], {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue