From d189f7ea43e0978b33ad0d4ed3dbcf95774c4598 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 11 Jan 2014 17:15:07 +0000 Subject: [PATCH] Use version 1 query to start OTR session --- src/command/commands.c | 2 ++ 1 file changed, 2 insertions(+) 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); } }