diff options
author | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-04-19 00:34:17 +0200 |
---|---|---|
committer | John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> | 2023-04-19 00:34:17 +0200 |
commit | 26e97d4e80be76c244d80a59d8c3fb535f63d11d (patch) | |
tree | d892d124f2cfaa42972980ba8c8bee272479c707 /src/command | |
parent | 96f9a84f019d234ad91bd99409cd170c63aec4fc (diff) | |
download | profani-tty-26e97d4e80be76c244d80a59d8c3fb535f63d11d.tar.gz |
Improve OMEMO messages
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/cmd_funcs.c | 6 |
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; } |