protocol_wrapper.js 448 B

1234567891011121314
  1. /*
  2. * vim: ts=4:sw=4:expandtab
  3. */
  4. ;(function() {
  5. 'use strict';
  6. window.textsecure = window.textsecure || {};
  7. window.textsecure.storage = window.textsecure.storage || {};
  8. textsecure.storage.protocol = new SignalProtocolStore();
  9. textsecure.ProvisioningCipher = libsignal.ProvisioningCipher;
  10. textsecure.startWorker = libsignal.worker.startWorker;
  11. textsecure.stopWorker = libsignal.worker.stopWorker;
  12. })();