comparison 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
comparison
equal deleted inserted replaced
1305:9bc68473f8a3 1306:a7d21918234c
564 static void cb_inject_message(void *opdata, const char *accountname, 564 static void cb_inject_message(void *opdata, const char *accountname,
565 const char *protocol, const char *recipient, 565 const char *protocol, const char *recipient,
566 const char *message) 566 const char *message)
567 { 567 {
568 char * id = g_strdup("otrinject"); 568 char * id = g_strdup("otrinject");
569 jb_send_msg(recipient, message, ROSTER_TYPE_USER, "", id, NULL); 569 jb_send_msg(recipient, message, ROSTER_TYPE_USER, "", id, NULL, NULL);
570 g_free(id); 570 g_free(id);
571 } 571 }
572 572
573 /* Display a notification message for a particular 573 /* Display a notification message for a particular
574 * accountname / protocol / username conversation. */ 574 * accountname / protocol / username conversation. */