about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorWilliam Wennerström <william@optmzr.se>2019-05-21 22:32:06 +0200
committerWilliam Wennerström <william@optmzr.se>2019-05-21 22:32:06 +0200
commite07a06d1a2ef4ff418ba617a68042f39290f6136 (patch)
tree59e18fdf141686189ffd50848904e5aaf02f2192 /src
parentc94f3d0b4ad3dbad3f33cbe0d7c19c6cd41e7aea (diff)
downloadprofani-tty-e07a06d1a2ef4ff418ba617a68042f39290f6136.tar.gz
Force UI update before generating OMEMO crypto materials
Diffstat (limited to 'src')
-rw-r--r--src/command/cmd_funcs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 12a099e2..999afd10 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -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.");