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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue