mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Force UI update before generating OMEMO crypto materials
This commit is contained in:
parent
c94f3d0b4a
commit
e07a06d1a2
@ -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...");
|
cons_show("Generating OMEMO crytographic materials, it may take a while...");
|
||||||
|
ui_update();
|
||||||
ProfAccount *account = accounts_get_account(session_get_account_name());
|
ProfAccount *account = accounts_get_account(session_get_account_name());
|
||||||
omemo_generate_crypto_materials(account);
|
omemo_generate_crypto_materials(account);
|
||||||
cons_show("OMEMO crytographic materials generated.");
|
cons_show("OMEMO crytographic materials generated.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user