signal-desktop/libtextsecure/protocol_wrapper.js

17 lines
559 B
JavaScript
Raw Normal View History

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 || {};
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
})();