Move hard-coded worker url out of libtextsecure

// FREEBIE
This commit is contained in:
lilia 2016-05-01 20:35:16 -07:00
parent 777e7386a4
commit cd2218ada7
3 changed files with 5 additions and 5 deletions

View file

@ -33,7 +33,7 @@
});
// start a background worker for ecc
textsecure.protocol_wrapper.startWorker();
textsecure.protocol_wrapper.startWorker('/js/libsignal-protocol-worker.js');
extension.onLaunched(function() {
console.log('extension launched');

View file

@ -35429,8 +35429,8 @@ Internal.SessionLock.queueJobForNumber = function queueJobForNumber(number, runJ
window.textsecure = window.textsecure || {};
window.textsecure.protocol_wrapper = {
startWorker: function() {
protocolInstance.startWorker('/js/libsignal-protocol-worker.js');
startWorker: function(url) {
protocolInstance.startWorker(url);
},
stopWorker: function() {
protocolInstance.stopWorker();

View file

@ -11,8 +11,8 @@
window.textsecure = window.textsecure || {};
window.textsecure.protocol_wrapper = {
startWorker: function() {
protocolInstance.startWorker('/js/libsignal-protocol-worker.js');
startWorker: function(url) {
protocolInstance.startWorker(url);
},
stopWorker: function() {
protocolInstance.stopWorker();