about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index ab4112c7..2c790a73 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2341,6 +2341,7 @@ static struct cmd_t command_defs[] =
             { "trust", cmd_omemo_trust },
             { "untrust", cmd_omemo_untrust },
             { "fingerprint", cmd_omemo_fingerprint },
+            { "char", cmd_omemo_char },
             { "clear_device_list", cmd_omemo_clear_device_list })
         CMD_NOMAINFUNC
         CMD_TAGS(
@@ -2353,6 +2354,7 @@ static struct cmd_t command_defs[] =
             "/omemo trust [<contact>] <fingerprint>",
             "/omemo end",
             "/omemo fingerprint [<contact>]",
+            "/omemo char <char>",
             "/omemo clear_device_list")
         CMD_DESC(
             "Omemo commands to manage keys, and perform encryption during chat sessions.")
@@ -2363,12 +2365,14 @@ static struct cmd_t command_defs[] =
             { "log on|off",        "Enable or disable plaintext logging of OMEMO encrypted messages." },
             { "log redact",        "Log OMEMO encrypted messages, but replace the contents with [redacted]. This is the default." },
             { "fingerprint",       "Show contact fingerprints." },
+            { "char <char>",       "Set the character to be displayed next to OMEMO encrypted messages." },
             { "clear_device_list", "Clear your own device list on server side. Each client will reannounce itself when connected back."})
         CMD_EXAMPLES(
             "/omemo gen",
             "/omemo start buddy@buddychat.org",
             "/omemo trust c4f9c875-144d7a3b-0c4a05b6-ca3be51a-a037f329-0bd3ae62-07f99719-55559d2a",
-            "/omemo untrust buddy@buddychat.org c4f9c875-144d7a3b-0c4a05b6-ca3be51a-a037f329-0bd3ae62-07f99719-55559d2a")
+            "/omemo untrust buddy@buddychat.org c4f9c875-144d7a3b-0c4a05b6-ca3be51a-a037f329-0bd3ae62-07f99719-55559d2a",
+            "/omemo char *")
     },
 };