about summary refs log tree commit diff stats
path: root/src/otr
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/otr
parent3c1e8c4e154600b8b7aeb60bbf316e39a97ece27 (diff)
downloadprofani-tty-2ff6873cf1ad4ca3c78947f5e3372d1da5a0b7d3.tar.gz
Send private carbons element with message when encrypted
Diffstat (limited to 'src/otr')
-rw-r--r--src/otr/otr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index 7c500e71..d0515e97 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -110,7 +110,7 @@ static void
 cb_inject_message(void *opdata, const char *accountname,
     const char *protocol, const char *recipient, const char *message)
 {
-    message_send_chat(recipient, message);
+    message_send_chat_encrypted(recipient, message);
 }
 
 static void