mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-10-05 15:30:06 +01:00
Mark messages sent after resolving outgoing key conflicts
This commit is contained in:
1 parent
82de8148d2
commit
b44c12807c
1 file changed
+3
-2
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user