about summary refs log tree commit diff stats
path: root/src/command/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-03-10 21:16:34 +0000
committerJames Booth <boothj5@gmail.com>2015-03-10 21:16:34 +0000
commit2ff6873cf1ad4ca3c78947f5e3372d1da5a0b7d3 (patch)
tree3689896b22e111b8ed21b489cc219d7b0f984f19 /src/command/command.c
parent3c1e8c4e154600b8b7aeb60bbf316e39a97ece27 (diff)
downloadprofani-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.c2
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();