From 26e97d4e80be76c244d80a59d8c3fb535f63d11d Mon Sep 17 00:00:00 2001 From: John Hernandez <129467592+H3rnand3zzz@users.noreply.github.com> Date: Wed, 19 Apr 2023 00:34:17 +0200 Subject: [PATCH] Improve OMEMO messages --- src/command/cmd_funcs.c | 6 +++--- 1 file 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 '"); - win_println(window, THEME_DEFAULT, "-", "You can untrust it with '/omemo untrust '"); + win_println(window, THEME_DEFAULT, "-", "You can trust it with '/omemo trust [] '"); + win_println(window, THEME_DEFAULT, "-", "You can untrust it with '/omemo untrust [] '"); 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; }