1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Update UI before generating OTR key

This commit is contained in:
James Booth 2014-10-02 01:34:00 +01:00
parent 60e0d5ef7b
commit e561e2bd11

View File

@ -306,6 +306,7 @@ _otr_keygen(ProfAccount *account)
log_debug("Generating private key file %s for %s", keysfilename->str, jid);
cons_show("Generating private key, this may take some time.");
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");
if (!err == GPG_ERR_NO_ERROR) {
g_string_free(basedir, TRUE);