about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-05-22 09:52:29 +0200
committerGitHub <noreply@github.com>2019-05-22 09:52:29 +0200
commit91d17edcb495e229c8691717069ebe989ab5e805 (patch)
tree5a6fe3d6084d7e92aad9c7579ea1ecf84ed09bb2 /src
parent883dbe1911766e31e4483eabe713edb89e1eec4f (diff)
parente07a06d1a2ef4ff418ba617a68042f39290f6136 (diff)
downloadprofani-tty-91d17edcb495e229c8691717069ebe989ab5e805.tar.gz
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.
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.");