Rename AxolotlStore
// FREEBIE
This commit is contained in:
parent
1fe5d63015
commit
b1d370755a
11 changed files with 15 additions and 15 deletions
|
@ -35296,7 +35296,7 @@ axolotlInternal.RecipientRecord = function() {
|
|||
window.textsecure = window.textsecure || {};
|
||||
window.textsecure.storage = window.textsecure.storage || {};
|
||||
|
||||
textsecure.storage.axolotl = new AxolotlStore();
|
||||
textsecure.storage.axolotl = new SignalProtocolStore();
|
||||
var axolotlInstance = axolotl.protocol(textsecure.storage.axolotl);
|
||||
|
||||
/*
|
||||
|
|
|
@ -79,10 +79,10 @@
|
|||
var Group = Model.extend({ storeName: 'groups' });
|
||||
var Item = Model.extend({ storeName: 'items' });
|
||||
|
||||
function AxolotlStore() {}
|
||||
function SignalProtocolStore() {}
|
||||
|
||||
AxolotlStore.prototype = {
|
||||
constructor: AxolotlStore,
|
||||
SignalProtocolStore.prototype = {
|
||||
constructor: SignalProtocolStore,
|
||||
getIdentityKeyPair: function() {
|
||||
var item = new Item({id: 'identityKey'});
|
||||
return new Promise(function(resolve) {
|
||||
|
@ -330,5 +330,5 @@
|
|||
|
||||
};
|
||||
|
||||
window.AxolotlStore = AxolotlStore;
|
||||
window.SignalProtocolStore = SignalProtocolStore;
|
||||
})();
|
Loading…
Add table
Add a link
Reference in a new issue