about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2023-04-19 17:53:27 +0200
committerGitHub <noreply@github.com>2023-04-19 17:53:27 +0200
commitf4d418a95f25d1280c1d89ccecc86a4087f6e7fa (patch)
tree6281f73d5bd37d773056583a5eb07ab45756adc1 /src/command
parent3be09147d71ca500124e963a3b6203c2f25c235d (diff)
parent26e97d4e80be76c244d80a59d8c3fb535f63d11d (diff)
downloadprofani-tty-f4d418a95f25d1280c1d89ccecc86a4087f6e7fa.tar.gz
Merge pull request #1838 from H3rnand3zzz/fix/omemo-trust-notification
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 454dbda7..e283395e 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -8916,8 +8916,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
@@ -8953,7 +8953,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;
         }