mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fix call to reloadDevicesAndSend - it returns a function
FREEBIE
This commit is contained in:
@@ -38914,9 +38914,7 @@ OutgoingMessage.prototype = {
|
||||
return p.then(function() {
|
||||
var resetDevices = ((error.code == 410) ? error.response.staleDevices : error.response.missingDevices);
|
||||
return this.getKeysForNumber(number, resetDevices)
|
||||
.then(function() {
|
||||
return this.reloadDevicesAndSend(number, error.code == 409);
|
||||
}.bind(this));
|
||||
.then(this.reloadDevicesAndSend(number, error.code == 409));
|
||||
}.bind(this));
|
||||
} else if (error.message === "Identity key changed") {
|
||||
error.timestamp = this.timestamp;
|
||||
|
||||
Reference in New Issue
Block a user