signal-desktop/libtextsecure/protocol_wrapper.js

14 lines
471 B
JavaScript
Raw Normal View History

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