diff mcabber/mcabber/xmpp.c @ 2156:a54c084af4d6

Add a "carbon" parameter to the hook-{pre,post}-message-in hooks
author Mikael Berthe <mikael@lilotux.net>
date Sat, 04 Oct 2014 20:38:41 +0200
parents a053629321ed
children 96427d9e993c
line wrap: on
line diff
--- a/mcabber/mcabber/xmpp.c	Sat Oct 04 18:49:52 2014 +0200
+++ b/mcabber/mcabber/xmpp.c	Sat Oct 04 20:38:41 2014 +0200
@@ -1191,8 +1191,7 @@
         fullbody = g_strdup_printf("[%s]\n", subject);
       body = fullbody;
     }
-    // XXX/TODO: pass the carbon status (Mikael)
-    hk_message_in(bjid, rname, timestamp, body, type, encrypted);
+    hk_message_in(bjid, rname, timestamp, body, type, encrypted, carbon);
     g_free(fullbody);
   }