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
|
// start a background worker for ecc
|
||||||
textsecure.protocol_wrapper.startWorker();
|
textsecure.protocol_wrapper.startWorker('/js/libsignal-protocol-worker.js');
|
||||||
|
|
||||||
extension.onLaunched(function() {
|
extension.onLaunched(function() {
|
||||||
console.log('extension launched');
|
console.log('extension launched');
|
||||||
|
|
|
@ -35429,8 +35429,8 @@ Internal.SessionLock.queueJobForNumber = function queueJobForNumber(number, runJ
|
||||||
|
|
||||||
window.textsecure = window.textsecure || {};
|
window.textsecure = window.textsecure || {};
|
||||||
window.textsecure.protocol_wrapper = {
|
window.textsecure.protocol_wrapper = {
|
||||||
startWorker: function() {
|
startWorker: function(url) {
|
||||||
protocolInstance.startWorker('/js/libsignal-protocol-worker.js');
|
protocolInstance.startWorker(url);
|
||||||
},
|
},
|
||||||
stopWorker: function() {
|
stopWorker: function() {
|
||||||
protocolInstance.stopWorker();
|
protocolInstance.stopWorker();
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
|
|
||||||
window.textsecure = window.textsecure || {};
|
window.textsecure = window.textsecure || {};
|
||||||
window.textsecure.protocol_wrapper = {
|
window.textsecure.protocol_wrapper = {
|
||||||
startWorker: function() {
|
startWorker: function(url) {
|
||||||
protocolInstance.startWorker('/js/libsignal-protocol-worker.js');
|
protocolInstance.startWorker(url);
|
||||||
},
|
},
|
||||||
stopWorker: function() {
|
stopWorker: function() {
|
||||||
protocolInstance.stopWorker();
|
protocolInstance.stopWorker();
|
||||||
|
|
Loading…
Reference in a new issue