diff options
author | James Booth <boothj5@gmail.com> | 2015-03-10 21:16:34 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-03-10 21:16:34 +0000 |
commit | 2ff6873cf1ad4ca3c78947f5e3372d1da5a0b7d3 (patch) | |
tree | 3689896b22e111b8ed21b489cc219d7b0f984f19 /src/command/command.c | |
parent | 3c1e8c4e154600b8b7aeb60bbf316e39a97ece27 (diff) | |
download | profani-tty-2ff6873cf1ad4ca3c78947f5e3372d1da5a0b7d3.tar.gz |
Send private carbons element with message when encrypted
Diffstat (limited to 'src/command/command.c')
-rw-r--r-- | src/command/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command/command.c b/src/command/command.c index 6502af75..6a5603ee 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -1928,7 +1928,7 @@ _cmd_execute_default(const char * inp) if (otr_is_secure(chatwin->barejid)) { char *encrypted = otr_encrypt_message(chatwin->barejid, inp); if (encrypted != NULL) { - message_send_chat(chatwin->barejid, encrypted); + message_send_chat_encrypted(chatwin->barejid, encrypted); otr_free_message(encrypted); if (prefs_get_boolean(PREF_CHLOG)) { const char *jid = jabber_get_fulljid(); |