diff plugins/notify.c @ 10104:60db14d54914

[gaim-migrate @ 11131] "This patch that makes received-im-msg and received-chat-msg signals correspond with each other. My motivation was to add flags to received-chat-msg, but I also added conv to received-im-msg to make the signals match each other." -- Nathan Fredrickson (noif) I also updated the receiving-im-msg and receiving-chat-msg signals to match. Now I can finally reject patch 909745 with "this should be a plugin", which I've wanted to be able to say for a while. Yay :) committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Sat, 16 Oct 2004 15:07:22 +0000
parents f8e395a054e2
children a66cf83552dc
line wrap: on
line diff
--- a/plugins/notify.c	Sat Oct 16 01:05:40 2004 +0000
+++ b/plugins/notify.c	Sat Oct 16 15:07:22 2004 +0000
@@ -213,10 +213,8 @@
 
 static gboolean
 im_recv_im(GaimAccount *account, char *sender, char *message,
-           int *flags)
+           GaimConversation *conv, int *flags)
 {
-	GaimConversation *conv = gaim_find_conversation_with_account(sender, account);
-
 	notify(conv, TRUE);
 
 	return FALSE;
@@ -224,7 +222,7 @@
 
 static gboolean
 chat_recv_im(GaimAccount *account, char *sender, char *message,
-             GaimConversation *conv)
+             GaimConversation *conv, int *flags)
 {
 	notify(conv, TRUE);