Move hard-coded worker url out of libtextsecure
// FREEBIE
This commit is contained in:
parent
777e7386a4
commit
cd2218ada7
3 changed files with 5 additions and 5 deletions
|
@ -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');
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue