diff options
Diffstat (limited to 'src')
-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); } } |