1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Use version 1 query to start OTR session

This commit is contained in:
James Booth 2014-01-11 17:15:07 +00:00
parent 9daefe170d
commit d189f7ea43

View File

@ -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);
}
}