diff plugins/statenotify.c @ 10246:a66cf83552dc

[gaim-migrate @ 11386] I changed gaim_find_conversation and gaim_find_conversation_with_account The first parameter is now one of GAIM_CONV_IM, GAIM_CONV_CHAT or GAIM_CONV_ANY. Unfortunately, this changes a bajillion files. Please look over this and make sure I use the correct type everywhere. Especially in Novell and MSN, and somewhat in SILC. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 23 Nov 2004 06:14:15 +0000
parents cf45c2a6a7cf
children 17142948653e
line wrap: on
line diff
--- a/plugins/statenotify.c	Tue Nov 23 05:53:59 2004 +0000
+++ b/plugins/statenotify.c	Tue Nov 23 06:14:15 2004 +0000
@@ -20,7 +20,8 @@
 	char buf[256];
 	char *escaped;
 
-	conv = gaim_find_conversation_with_account(buddy->name, buddy->account);
+	conv = gaim_find_conversation_with_account(GAIM_CONV_IM,
+											   buddy->name, buddy->account);
 
 	if (conv == NULL)
 		return;
@@ -75,10 +76,10 @@
 
 	ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/core/statenotify/notify_away", _("Buddy Goes _Away"));
 	gaim_plugin_pref_frame_add(frame, ppref);
-	
+
 	ppref = gaim_plugin_pref_new_with_name_and_label("/plugins/core/statenotify/notify_idle", _("Buddy Goes _Idle"));
 	gaim_plugin_pref_frame_add(frame, ppref);
-	
+
 	return frame;
 }