Update UI before generating OTR key
This commit is contained in:
@@ -306,6 +306,7 @@ _otr_keygen(ProfAccount *account)
|
|||||||
log_debug("Generating private key file %s for %s", keysfilename->str, jid);
|
log_debug("Generating private key file %s for %s", keysfilename->str, jid);
|
||||||
cons_show("Generating private key, this may take some time.");
|
cons_show("Generating private key, this may take some time.");
|
||||||
cons_show("Moving the mouse randomly around the screen may speed up the process!");
|
cons_show("Moving the mouse randomly around the screen may speed up the process!");
|
||||||
|
ui_update();
|
||||||
err = otrl_privkey_generate(user_state, keysfilename->str, account->jid, "xmpp");
|
err = otrl_privkey_generate(user_state, keysfilename->str, account->jid, "xmpp");
|
||||||
if (!err == GPG_ERR_NO_ERROR) {
|
if (!err == GPG_ERR_NO_ERROR) {
|
||||||
g_string_free(basedir, TRUE);
|
g_string_free(basedir, TRUE);
|
||||||
|
|||||||
Reference in New Issue
Block a user