diff options
author | James Booth <boothj5@gmail.com> | 2015-06-21 01:48:25 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-21 01:48:25 +0100 |
commit | e45afd5c09a5a4bea9cbf8f16eb6af3908344dba (patch) | |
tree | 5832dce58ec4eea210ba2c2adffcf38715296e24 /src/command/commands.c | |
parent | 6617bb5a2b432d9c4178984386855f30be76ecf3 (diff) | |
download | profani-tty-e45afd5c09a5a4bea9cbf8f16eb6af3908344dba.tar.gz |
Added pgp checks for message sending
Diffstat (limited to 'src/command/commands.c')
-rw-r--r-- | src/command/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 6717157e..e4d96be6 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -4415,7 +4415,7 @@ cmd_otr(ProfWin *window, gchar **args, struct cmd_help_t help) if (!otr_is_secure(barejid)) { char *otr_query_message = otr_start_query(); - message_send_chat_encrypted(barejid, otr_query_message); + message_send_chat_otr(barejid, otr_query_message); return TRUE; } @@ -4442,7 +4442,7 @@ cmd_otr(ProfWin *window, gchar **args, struct cmd_help_t help) } char *otr_query_message = otr_start_query(); - message_send_chat_encrypted(chatwin->barejid, otr_query_message); + message_send_chat_otr(chatwin->barejid, otr_query_message); return TRUE; } |