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:
lilia 2016-02-11 14:15:28 -08:00
parent cc0b8e835a
commit 731052ad0a

View file

@ -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));