Clear old key conflict errors after failed replay
If the replay failed due to a bad mac or other decryption error for some other reason we still want to clear the conflict. If it failed because it's still in conflict then the newly returned error will reflect that and be saved. // FREEBIE
This commit is contained in:
parent
cc0b8e835a
commit
731052ad0a
1 changed files with 1 additions and 0 deletions
|
@ -246,6 +246,7 @@
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
}
|
}
|
||||||
promise.catch(function(e) {
|
promise.catch(function(e) {
|
||||||
|
this.removeConflictFor(number);
|
||||||
this.saveErrors(e);
|
this.saveErrors(e);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue