mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Fixup refreshPreKeys and call it whenever a prekey is deleted
This commit is contained in:
@@ -39443,7 +39443,7 @@ window.textsecure.api = function () {
|
||||
refreshPreKeys: function() {
|
||||
return textsecure.api.getMyKeys().then(function(preKeyCount) {
|
||||
if (preKeyCount < 10) {
|
||||
return generateKeys(100);
|
||||
return generateKeys(100).then(TextSecureServer.registerKeys);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user