--- 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)