Move identity key storage functions to axolotl store
This commit is contained in:
parent
f38b18ef63
commit
20ebc3f890
6 changed files with 37 additions and 71 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue