2020-10-30 20:34:04 +00:00
|
|
|
// Copyright 2016-2020 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
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 || {};
|
2015-09-26 00:25:25 +00:00
|
|
|
|
2018-05-02 16:51:22 +00:00
|
|
|
textsecure.storage.protocol = new SignalProtocolStore();
|
2015-01-15 20:42:32 +00:00
|
|
|
|
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
|
|
|
})();
|