Move identity key storage functions to axolotl store

This commit is contained in:
lilia 2015-04-21 13:33:29 -07:00
parent f38b18ef63
commit 20ebc3f890
6 changed files with 37 additions and 71 deletions

View file

@ -57,8 +57,8 @@
verify: function(number) {
var view = new Whisper.KeyVerificationView({
model: {
their_key: textsecure.storage.devices.getIdentityKeyForNumber(number),
your_key: textsecure.storage.devices.getIdentityKeyForNumber(textsecure.storage.user.getNumber())
their_key: textsecure.storage.axolotl.getIdentityKey(number),
your_key: textsecure.storage.axolotl.getIdentityKey(textsecure.storage.user.getNumber())
}
});
this.$el.hide();