diff mcabber/mcabber/carbons.c @ 2152:2ce6dd6861ea

Use the Carbons <private/> element for outgoing encrypted messages
author Mikael Berthe <mikael@lilotux.net>
date Sat, 04 Oct 2014 18:31:46 +0200
parents 51fde9c25401
children f5402d705f67
line wrap: on
line diff
--- a/mcabber/mcabber/carbons.c	Sat Oct 04 18:31:41 2014 +0200
+++ b/mcabber/mcabber/carbons.c	Sat Oct 04 18:31:46 2014 +0200
@@ -45,6 +45,11 @@
   }
 }
 
+gboolean carbons_enabled()
+{
+  return (_carbons_enabled != 0);
+}
+
 void carbons_enable()
 {
   LmMessage *iq;