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

Merge pull request #1098 from optmzr/fix-omemo-gen-message

Force UI update before generating OMEMO crypto materials

The message wouldn't show up before the generation of OMEMO crypto materials started.
This commit is contained in:
Michael Vetter 2019-05-22 09:52:29 +02:00 committed by GitHub
commit 91d17edcb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8023,6 +8023,7 @@ cmd_omemo_gen(ProfWin *window, const char *const command, gchar **args)
}
cons_show("Generating OMEMO crytographic materials, it may take a while...");
ui_update();
ProfAccount *account = accounts_get_account(session_get_account_name());
omemo_generate_crypto_materials(account);
cons_show("OMEMO crytographic materials generated.");