mcabber/mcabber/xmpp.c
changeset 2192 cb53950fb1de
parent 2190 ee3a40ffcd8b
child 2194 f4c00c72b27d
--- a/mcabber/mcabber/xmpp.c	Sun Oct 04 20:38:17 2015 +0200
+++ b/mcabber/mcabber/xmpp.c	Sun Oct 04 21:30:41 2015 +0200
@@ -422,7 +422,7 @@
 
   // We probably don't want Carbons for encrypted messages, since the other
   // resources won't be able to decrypt them.
-  if (enc && carbons_enabled())
+  if (otr_msg && carbons_enabled())
     lm_message_node_add_child(x->node, "private", NS_CARBONS_2);
 
   // XEP-0184: Message Receipts