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

Add UI feedback for OMEMO gen command

This commit is contained in:
Paul Fariello 2019-03-13 21:46:33 +02:20
parent 2622c2d21a
commit 89ece4f235

View File

@ -7898,6 +7898,7 @@ cmd_omemo_gen(ProfWin *window, const char *const command, gchar **args)
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.");
return TRUE; return TRUE;
#else #else
cons_show("This version of Profanity has not been built with OMEMO support enabled"); cons_show("This version of Profanity has not been built with OMEMO support enabled");