1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Update UI before generating OTR key

This commit is contained in:
James Booth 2014-10-02 01:34:00 +01:00
parent ded712c35c
commit ae4d83fb47

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);