about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJohn Hernandez <129467592+H3rnand3zzz@users.noreply.github.com>2023-04-19 00:34:17 +0200
committerJohn Hernandez <129467592+H3rnand3zzz@users.noreply.github.com>2023-04-19 00:34:17 +0200
commit26e97d4e80be76c244d80a59d8c3fb535f63d11d (patch)
treed892d124f2cfaa42972980ba8c8bee272479c707 /src/command
parent96f9a84f019d234ad91bd99409cd170c63aec4fc (diff)
downloadprofani-tty-26e97d4e80be76c244d80a59d8c3fb535f63d11d.tar.gz
Improve OMEMO messages
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_funcs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index 507a8ccd..f1bb4062 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -8925,8 +8925,8 @@ cmd_omemo_fingerprint(ProfWin* window, const char* const command, gchar** args)
     jid_destroy(jid);
     g_list_free(fingerprints);
 
-    win_println(window, THEME_DEFAULT, "-", "You can trust it with '/omemo trust <fingerprint>'");
-    win_println(window, THEME_DEFAULT, "-", "You can untrust it with '/omemo untrust <fingerprint>'");
+    win_println(window, THEME_DEFAULT, "-", "You can trust it with '/omemo trust [<contact>] <fingerprint>'");
+    win_println(window, THEME_DEFAULT, "-", "You can untrust it with '/omemo untrust [<contact>] <fingerprint>'");
 
     return TRUE;
 #else
@@ -8962,7 +8962,7 @@ cmd_omemo_trust(ProfWin* window, const char* const command, gchar** args)
         fingerprint = args[1];
 
         if (window->type != WIN_CHAT) {
-            win_println(window, THEME_DEFAULT, "-", "You must be in a regular chat window to trust a device without providing the contact.");
+            win_println(window, THEME_DEFAULT, "-", "You must be in a regular chat window to trust a device without providing the contact. To trust your own JID, use /omemo trust %s %s", connection_get_barejid(), fingerprint);
             return TRUE;
         }