diff mcabber/src/otr.c @ 1306:a7d21918234c

Fix jb_send_msg() call in OTR Also add a cast to remove a compiler warning in jabglue.c
author Mikael Berthe <mikael@lilotux.net>
date Sun, 09 Sep 2007 13:24:40 +0200
parents b6fdbfa6b219
children 6c116207ab2e
line wrap: on
line diff
--- a/mcabber/src/otr.c	Sat Sep 08 13:21:07 2007 +0200
+++ b/mcabber/src/otr.c	Sun Sep 09 13:24:40 2007 +0200
@@ -566,7 +566,7 @@
                               const char *message)
 {
   char * id = g_strdup("otrinject");
-  jb_send_msg(recipient, message, ROSTER_TYPE_USER, "", id, NULL);
+  jb_send_msg(recipient, message, ROSTER_TYPE_USER, "", id, NULL, NULL);
   g_free(id);
 }