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

@ -241,7 +241,7 @@
throw 'No conflicts to resolve';
}
return textsecure.storage.devices.removeIdentityKeyForNumber(number).then(function() {
return textsecure.storage.axolotl.removeIdentityKey(number).then(function() {
this.messageCollection.each(function(message) {
if (message.hasKeyConflict(number)) {
message.resolveConflict(number);