Mark messages sent after resolving outgoing key conflicts
This commit is contained in:
parent
82de8148d2
commit
b44c12807c
1 changed files with 3 additions and 2 deletions
|
@ -114,10 +114,11 @@
|
|||
}.bind(this));
|
||||
} else {
|
||||
promise.then(function() {
|
||||
this.save('errors', _.reject(this.get('errors'), function(e) {
|
||||
var errors = _.reject(this.get('errors'), function(e) {
|
||||
return e.name === 'OutgoingIdentityKeyError' &&
|
||||
e.number === number;
|
||||
}));
|
||||
});
|
||||
this.save({sent: true, errors: errors});
|
||||
}.bind(this));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue