diff src/blist.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 35eae887271a
children 8d42237564f6
line wrap: on
line diff
--- a/src/blist.c	Tue Nov 23 05:53:59 2004 +0000
+++ b/src/blist.c	Tue Nov 23 06:14:15 2004 +0000
@@ -262,7 +262,8 @@
 	if (ops && ops->update)
 		ops->update(gaimbuddylist, (GaimBlistNode*)buddy);
 
-	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) {
 		if (buddy->present == GAIM_BUDDY_ONLINE)
 			gaim_conversation_update(conv, GAIM_CONV_ACCOUNT_ONLINE);
@@ -425,7 +426,8 @@
 	if (ops && ops->update)
 		ops->update(gaimbuddylist, (GaimBlistNode *)buddy);
 
-	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)
 		gaim_conversation_autoset_title(conv);
 }
@@ -448,7 +450,8 @@
 	if (ops && ops->update)
 		ops->update(gaimbuddylist, (GaimBlistNode *)buddy);
 
-	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)
 		gaim_conversation_autoset_title(conv);
 }