Move hard-coded worker url out of libtextsecure

// FREEBIE
This commit is contained in:
lilia
2016-05-15 17:04:13 -07:00
parent 777e7386a4
commit cd2218ada7
3 changed files with 5 additions and 5 deletions
+1 -1
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');
+2 -2
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();
+2 -2
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();