about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-03-13 19:43:07 +0140
committerPaul Fariello <paul@fariello.eu>2019-04-10 17:12:31 +0200
commit2622c2d21a1f120cb39800b8c96b6e5ce916589b (patch)
treee2befec30997a130f8cc354fb813c0aecaca3ebc /src/command/cmd_defs.c
parent36ce21fc6d8104ef2145afbe3056747e49032ca4 (diff)
downloadprofani-tty-2622c2d21a1f120cb39800b8c96b6e5ce916589b.tar.gz
Add OMEMO untrust command
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 200a46d3..70e4595e 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2336,6 +2336,7 @@ static struct cmd_t command_defs[] =
             { "gen", cmd_omemo_gen },
             { "start", cmd_omemo_start },
             { "trust", cmd_omemo_trust },
+            { "untrust", cmd_omemo_untrust },
             { "fingerprint", cmd_omemo_fingerprint })
         CMD_NOMAINFUNC
         CMD_TAGS(
@@ -2355,7 +2356,8 @@ static struct cmd_t command_defs[] =
         CMD_EXAMPLES(
             "/omemo gen",
             "/omemo start buddy@buddychat.org",
-            "/omemo trust c4f9c875-144d7a3b-0c4a05b6-ca3be51a-a037f329-0bd3ae62-07f99719-55559d2a")
+            "/omemo trust c4f9c875-144d7a3b-0c4a05b6-ca3be51a-a037f329-0bd3ae62-07f99719-55559d2a",
+            "/omemo untrust c4f9c875-144d7a3b-0c4a05b6-ca3be51a-a037f329-0bd3ae62-07f99719-55559d2a")
     },
 };