mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -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'");
|
ui_current_print_line("You have not generated or loaded a private key, use '/otr gen'");
|
||||||
} else {
|
} else {
|
||||||
ui_current_print_line("Starting OTR session");
|
ui_current_print_line("Starting OTR session");
|
||||||
|
char *recipient = ui_current_recipient();
|
||||||
|
message_send("?OTR?", recipient);
|
||||||
ui_current_set_otr(TRUE);
|
ui_current_set_otr(TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user