diff options
author | James Booth <boothj5@gmail.com> | 2014-01-11 17:15:07 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-01-11 17:15:07 +0000 |
commit | d189f7ea43e0978b33ad0d4ed3dbcf95774c4598 (patch) | |
tree | fd910040cd26b14c43411f61ccc94a5e256b8cce | |
parent | 9daefe170d7fa1f50620acdd0a9073b98ba373f9 (diff) | |
download | profani-tty-d189f7ea43e0978b33ad0d4ed3dbcf95774c4598.tar.gz |
Use version 1 query to start OTR session
-rw-r--r-- | src/command/commands.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 6b0b38f9..e9e70063 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -2327,6 +2327,8 @@ cmd_otr(gchar **args, struct cmd_help_t help) ui_current_print_line("You have not generated or loaded a private key, use '/otr gen'"); } else { ui_current_print_line("Starting OTR session"); + char *recipient = ui_current_recipient(); + message_send("?OTR?", recipient); ui_current_set_otr(TRUE); } } |