mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 19:08:04 +01:00
rotateSignedPrekeys: Fix 'res is not defined' error
This commit is contained in:
@@ -132,12 +132,12 @@
|
||||
keyId : res.keyId,
|
||||
publicKey : res.keyPair.pubKey,
|
||||
signature : res.signature
|
||||
});
|
||||
}).then(function() {
|
||||
textsecure.storage.put('signedKeyId', signedKeyId + 1);
|
||||
textsecure.storage.remove('signedKeyRotationRejected');
|
||||
return store.storeSignedPreKey(res.keyId, res.keyPair).then(function() {
|
||||
return cleanSignedPreKeys();
|
||||
}).then(function() {
|
||||
textsecure.storage.put('signedKeyId', signedKeyId + 1);
|
||||
textsecure.storage.remove('signedKeyRotationRejected');
|
||||
return store.storeSignedPreKey(res.keyId, res.keyPair).then(function() {
|
||||
return cleanSignedPreKeys();
|
||||
});
|
||||
});
|
||||
}).catch(function(e) {
|
||||
console.log(
|
||||
|
||||
Reference in New Issue
Block a user