2018-07-21 14:51:20 -07:00
|
|
|
/* global window, textsecure, SignalProtocolStore, libsignal */
|
|
|
|
|
|
|
|
// eslint-disable-next-line func-names
|
2018-05-02 09:51:22 -07:00
|
|
|
(function() {
|
|
|
|
window.textsecure = window.textsecure || {};
|
|
|
|
window.textsecure.storage = window.textsecure.storage || {};
|
2015-09-25 17:25:25 -07:00
|
|
|
|
2018-05-02 09:51:22 -07:00
|
|
|
textsecure.storage.protocol = new SignalProtocolStore();
|
2015-01-15 10:42:32 -10:00
|
|
|
|
2018-05-02 09:51:22 -07:00
|
|
|
textsecure.ProvisioningCipher = libsignal.ProvisioningCipher;
|
|
|
|
textsecure.startWorker = libsignal.worker.startWorker;
|
|
|
|
textsecure.stopWorker = libsignal.worker.stopWorker;
|
2015-01-14 13:42:01 -10:00
|
|
|
})();
|