mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
FINALLY report crypto, etc errors to console thanks to promises...
This commit is contained in:
@@ -85,7 +85,7 @@ $('#init-go').click(function() {
|
||||
|
||||
var register_keys_func = function() {
|
||||
$('#verify2done').html('done');
|
||||
crypto.generateKeys(function(keys) {
|
||||
crypto.generateKeys().then(function(keys) {
|
||||
$('#verify3done').html('done');
|
||||
API.registerKeys(keys,
|
||||
function(response) {
|
||||
|
||||
Reference in New Issue
Block a user