diff mcabber/src/hooks.c @ 1602:f4a2c6f767d1

Message Receipts support (XEP-0184)
author franky
date Wed, 24 Sep 2008 11:41:29 +0200
parents dcd5d4c75199
children 351427ef0b4b
line wrap: on
line diff
--- a/mcabber/src/hooks.c	Sun Oct 11 15:59:20 2009 +0200
+++ b/mcabber/src/hooks.c	Wed Sep 24 11:41:29 2008 +0200
@@ -251,7 +251,8 @@
 // nick should be set for private messages in a chat room, and null for
 // normal messages.
 void hk_message_out(const char *bjid, const char *nick,
-                           time_t timestamp, const char *msg, guint encrypted)
+                    time_t timestamp, const char *msg,
+                    guint encrypted, gpointer xep184)
 {
   char *wmsg = NULL, *bmsg = NULL, *mmsg = NULL;
   guint cryptflag = 0;
@@ -280,7 +281,7 @@
     cryptflag = HBB_PREFIX_PGPCRYPT;
   else if (encrypted == ENCRYPTED_OTR)
     cryptflag = HBB_PREFIX_OTRCRYPT;
-  scr_WriteOutgoingMessage(bjid, wmsg, cryptflag);
+  scr_WriteOutgoingMessage(bjid, wmsg, cryptflag, xep184);
 
   // We don't log private messages
   if (!nick)