mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 12:16:22 +00:00
Handle window creation for incoming and outgoing OTR sessions
This commit is contained in:
@@ -1141,7 +1141,7 @@ cmd_execute_default(const char * const inp)
|
||||
ui_current_print_line("You are not currently connected.");
|
||||
} else {
|
||||
#ifdef HAVE_LIBOTR
|
||||
if (ui_current_win_is_otr()) {
|
||||
if (otr_is_secure(recipient)) {
|
||||
char *encrypted = otr_encrypt_message(recipient, inp);
|
||||
if (encrypted != NULL) {
|
||||
message_send(encrypted, recipient);
|
||||
|
||||
Reference in New Issue
Block a user