2020-10-30 15:34:04 -05:00
|
|
|
// Copyright 2016-2020 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
2018-07-21 14:51:20 -07:00
|
|
|
/* global window, textsecure, SignalProtocolStore, libsignal */
|
|
|
|
|
|
|
|
// eslint-disable-next-line func-names
|
2020-11-18 07:15:42 -08:00
|
|
|
(function () {
|
2018-05-02 09:51:22 -07:00
|
|
|
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
|
|
|
})();
|