about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorDebXWoody <stefan@debxwoody.de>2021-05-28 17:57:42 +0200
committerDebXWoody <stefan@debxwoody.de>2021-05-28 17:57:42 +0200
commit9974c68ee8baeb16f13267d6f044946cdf16f24c (patch)
tree9553c27e15a495204ab8a069cde9fb98e090d8a4 /src/command
parentefe447037255e8593b706b2faf157c7057708a6b (diff)
downloadprofani-tty-9974c68ee8baeb16f13267d6f044946cdf16f24c.tar.gz
Display OMEMO device ID
Display the OMEMO device ID which has been generated, when the user generated
OMEMO crytographic materials via /omemo gen.
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 8b5c9db6..b2262c5f 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -8415,7 +8415,7 @@ cmd_omemo_gen(ProfWin* window, const char* const command, gchar** args)
     ui_update();
     ProfAccount* account = accounts_get_account(session_get_account_name());
     omemo_generate_crypto_materials(account);
-    cons_show("OMEMO crytographic materials generated.");
+    cons_show("OMEMO crytographic materials generated. Your Device ID is %d.", omemo_device_id());
     return TRUE;
 #else
     cons_show("This version of Profanity has not been built with OMEMO support enabled");