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:
parent
9daefe170d
commit
d189f7ea43
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user